• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception related to Spring - in deployment

 
Angel Marc
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to deploy an ear file onto OAS 10.1.2 and getting following error:
-----------------------------------------------------
Deployment failed: Nested exception
Resolution:

Base Exception:
com.evermind.server.rmi.OrionRemoteException
Class not found: org.springframework.beans.factory.BeanCreationException; nested exception is:
java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException. Class not found: org.springframework.beans.factory.BeanCreationException; nested exception is:
java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException
----------------------------------------------------------------

My code in ApplicationContext file includes:
-----------------------
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>/WEB-INF/classes/hibernate.properties</value>

</list>
</property>
</bean>
-------------------------------------
Code in hibernate.properties include:

hibernate.dialect org.hibernate.dialect.Oracle9Dialect
hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver

hibernate.connection.url jdbc racle:thin:@oracleapp.mycomp.com:1521:se
hibernate.connection.password or4cl3
hibernate.connection.username d_appn
----------------------------------------------



Could anyone please help on this. Thanks in advance.
Angel.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which JAR did you put in your CLASSPATH ? spring.jar ? If not, you must have at least spring-beans.jar.
 
Angel Marc
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the helping me Christophe,

Yeah, I have all spring jars in my classpath :

spring.jar
spring-aspects.jar
spring-beandoc.jar
spring-beans.jar
spring-core.jar
spring-mock.jar

Please let me know if anything else missing.

Thanks,
Angel
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you put them ?
By the way, if you're using spring.jar, you don't need the other JAR files.
 
Angel Marc
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Again,

I got them with the project code itself. I am not much into Spring but have to deploy this application which is using Spring.

Anyways, somehow my OC4J is not able to read the classpath I think. SO now I have to figure out that.

Cheers,
Angel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic