We use that property struts.properties: struts.objectFactory = spring
This same configuration works well on struts 2.0.1. A part of the stacktrace: [2007-56-27 05:56:27] ERROR (XWorkConverter.java:645) Conversion registration error java.lang.ClassNotFoundException: enumTypeConverter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:147) at com.opensymphony.xwork2.ObjectFactory.getClassInstance(ObjectFactory.java:98) at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151) at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:141) at com.opensymphony.xwork2.util.XWorkConverter.createTypeConverter(XWorkConverter.java:621) at com.opensymphony.xwork2.util.XWorkConverter.loadConversionProperties(XWorkConverter.java:639) at com.opensymphony.xwork2.util.AnnotationXWorkConverter.<init>(AnnotationXWorkConverter.java:106) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) On 2/27/07, Paul Saumets | Merge <[EMAIL PROTECTED]> wrote:
Perhaps obvious question but, Do you have <constant name="struts.objectFactory" value="spring" /> set inside your struts.xml? -----Original Message----- From: João Vieira da Luz [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 12:42 PM To: user@struts.apache.org Subject: Problems using spring plugin and struts 2.0.6 We've upgraded to struts 2.0.6 and we can't make spring-plugin work. The spring factory isn't being called and we are getting ClassNotFoundException for the beans that reference spring. This is working with struts 2.0.1. What changed? Thanks a lot, João --------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]