Hi, Here is and application with example code http://www.roseindia.net/struts/hibernate-spring/index.shtml
Thanks -----Original Message----- From: RajiR [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 4:04 PM To: user@struts.apache.org Subject: struts2+Spring+Hibernate Integration Hi, As struts2 comes along with spring integration with struts2-spring-plugin-2.0.11.jar,after starting the tomcat server its unable to load that jar and getting an exception as: SEVERE: Exception starting filter struts2 Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/E:/Struts2WorkSpace/.metadata/.plugins/org.eclipse.wst.server.core /tmp0/wtpwebapps/SampleStruts2/WEB-INF/lib/struts2-spring-plugin-2.0.11.jar! /struts-plugin.xml:30:132 ..... Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAware at java.lang.ClassLoader.defineClass1(Native Method) ......com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.regi ster(XmlConfigurationProvider.java:180) ... 24 more What is the reason for this?I have checked whether I have loaded same jar double times,but tht's not tht problem.what might b the reason?Does any body came across this one? Also,the link: http://www.roseindia.net/struts/hibernate-spring/integrate.shtml helps in integrating struts1+hibernate+springs.But, since I would like to work with struts2+Hibernate+Spring,what modifications I have to do to satisfy my requirement?Since action forms concept is not there in struts2...!!! Thanks. -- View this message in context: http://www.nabble.com/struts2%2BSpring%2BHibernate-Integration-tp15607260p15 607260.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]