| Author |
Exception related to Spring - in deployment
|
Angel Marc
Greenhorn
Joined: Feb 22, 2008
Posts: 3
|
|
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
Joined: Nov 24, 2005
Posts: 14670
|
|
|
Which JAR did you put in your CLASSPATH ? spring.jar ? If not, you must have at least spring-beans.jar.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Angel Marc
Greenhorn
Joined: Feb 22, 2008
Posts: 3
|
|
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
Joined: Nov 24, 2005
Posts: 14670
|
|
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
Joined: Feb 22, 2008
Posts: 3
|
|
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
|
 |
 |
|
|
subject: Exception related to Spring - in deployment
|
|
|