You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by sige <si...@yahoo.co.nz> on 2009/07/14 02:05:32 UTC
Re: [T5] 5.1 Startup problem with TapestrySpringFilter
Hi
do you mean you changed the filter class:
<filter-class>org.apache.tapestry5.spring.TapestrySpringFilter</filter-class>
to
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
and solved the problem? I have the same problem when shifting from T5.0 to
T5.1, I have some Spring beans needed in my classes which I have injected
using external spring context and a spring ContextLoaderListener:
<context-param>
<param-name>tapestry.use-external-spring-context</param-name>
<param-value>true</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
I am not using maven and I managed the dependencies manually.
Thanks,
Sige
Otho wrote:
>
> Solved. One shouldn't try to code that late and when tired. When
> copypasting
> I used the tapestry-test definition in the pom and of course forgot to
> delete the <scope>test</scope> for tapestry-spring.... sorry for the
> hassle.
>
> 2009/2/7 Otho <ta...@googlemail.com>
>
>> I added that of course to them pom.xml along with other dependencies I
>> need. The problem is, that my Spring context is read in correctly but
>> then
>> Tapestry bails out with the classnotfoundexception for the
>> TaperstrySpringFilter.
>>
>> 2009/2/7 Howard Lewis Ship <hl...@gmail.com>
>>
>> The new archetype doesn't have a dependency on tapestry-spring (it never
>>> did).
>>>
>
>
>
--
View this message in context: http://www.nabble.com/-T5--5.1-Startup-problem-with-TapestrySpringFilter-tp21881852p24471597.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org