Thanks all, problem resolved after adding
"tapestry.use-external-spring-context" to "true".
於 2010/11/29 5:24, Jonathan Barker 提到:
> Remove the ContextLoaderListener, and remove the @Service annotation.
>
> One of the changes in T5.1 was the ability to inject T5 services into Spring
> beans as we
Remove the ContextLoaderListener, and remove the @Service annotation.
One of the changes in T5.1 was the ability to inject T5 services into Spring
beans as well as the the other way around. The downside is that now you are
restricted to only a single Spring bean for each service type that you wan
Hi Chrstophe,
thank you for your reply, I followed the example to local
ApplicationContext.xml in my web.xml.
I know if it is configured externally or internally, the information on
the page is just not enough.
Can you point me some other references?
Thanks
John
於 2010/11/29 0:55, Christophe Cor
I forgot to say that T5.1 was compatible with Spring 3 but in external
configuration (Spring ContextLoaderListener)
2010/11/28 Christophe Cordenier
> Hi
>
> Currently T5.1 was not compatible with spring 3.0, but if you use spring
> 2.5.6 you should have no problem using T5.1 or T5.2.
>
> The onl
Hi
Currently T5.1 was not compatible with spring 3.0, but if you use spring
2.5.6 you should have no problem using T5.1 or T5.2.
The only difference if you use a ContextLoaderListener to load Spring is
that you will not be able to inject Tapestry services inside Spring beans.
Make sure you have d