> Would you expect that to mean that my package should be > extending the "spring-default" rather than "struts-default"?
it's good thinking to look at struts-plugin.xml in struts2-spring-plugin.jar, but you don't need to extend it unless you intend to use the two interceptors they define there (which shouldn't be necessary). by the way, did you know each message is getting sent to the mailing list twice? Anyways, the way that I would proceed is to set a breakpoint in SpringObjectFactory.buildBean() method and see what happens when beanName = springManagedProsocActionUpdateEmail Does Spring find and return the bean? Or does it throw a NoSuchBeanDefinitionException? If that's not an option in your environment, you could post the relevant portions of struts.xml, struts.properties (if you have one), your spring config file, and web.xml. By relevant, I mean all of struts.xml but only include one Action definition that you know doesn't work. Any servlets, listeners, and filters in web.xml And the Action bean definition in your spring config file. By the way, if you have a struts.properties file, make sure none of its settings conflict with what's in struts.xml Brad Cupit Louisiana State University - UIS -----Original Message----- From: doahh [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 2:07 PM To: user@struts.apache.org Subject: RE: Struts2 and spring plugin - Action class [springManagedProsocActionUpdateEmail] not found Thanks again for replying, I am really stuck on this one at the moment. I am currently using struts-2.0.11.1 and spring-2.5.4. Another thing I have noticed on the struts plugin guide page at: http://struts.apache.org/2.x/docs/spring-plugin.html http://struts.apache.org/2.x/docs/spring-plugin.html is that in their struts.xml example at the bottom of the page they have a bean called 'secure' but it extends="default" and not "struts-default". I have opened up the struts2-spring-plugin.jar file and see that the struts-plugin.xml file package name attribute is called "spring-default" and extends "struts-default". Would you expect that to mean that my package should be extending the "spring-default" rather than "struts-default"? I have tried it and it made no difference; it was just an oddity I noticed. Brad A Cupit wrote: > >> I have tried setting the scope="prototype" but it >> didn't change the error I am seeing. > > right, that makes sense. This setting will stop you from having big > problems later on though. > >> I am unsure what could be causing this but maybe someone could >> clarify that the: >> >> com.opensymphony.xwork2.spring.SpringObjectFactory - Setting >> autowire strategy to name >> >> is correct, I though it should be setting it to 'type' but I could >> be wrong. > > The default is to autowire by name, so if you don't have it set, then > that makes sense. In your original post, it was set though, so it's very > odd. Remember, you're not really going to care about this value, since > your Action is fully Spring managed, but if you telling it to autowire > by 'type' and it's picking 'name', that may be the symptom of something > else. > > which version of struts and spring are you using? > > Brad Cupit > Louisiana State University - UIS > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts2-and-spring-plugin---Action-class--springMa nagedProsocActionUpdateEmail--not-found-tp18814302p18817604.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]