Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

RE: Problems using spring plugin and struts 2.0.6

cilquirm

2007-02-27

Replies:


Technically, this isn't necessary when you have the struts-spring-plugin.jar
in your WEB-INF/lib
since it's already specified by the struts-plugin.xml file

I think, however, seeing a more complete stack trace for the CNFE would be
helpful since I have 2.0.6 with the spring plugin just fine.




Paul Saumets | Merge 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:joao.luz@(protected)]
> Sent: Tuesday, February 27, 2007 12:42 PM
> To: user@(protected)
> 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: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.