Unless I'm mistaken I'm seeing you define both T5 filters in the
web.xml with the name 'app'. You only need / should define the Spring
one.

Steve.

On 14 September 2011 01:13, Alfonso Quiroga <alfonsose...@gmail.com> wrote:
> Hi, yes, I followed that guide, with no results. My web.xml is this:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app
>        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>        "http://java.sun.com/dtd/web-app_2_3.dtd";>
> <web-app>
>    <display-name>example Tapestry 5 Application</display-name>
>
>    <context-param>
>        <param-name>tapestry.app-package</param-name>
>        <param-value>ar.lifia</param-value>
>    </context-param>
>
>        <context-param>
>          <param-name>contextConfigLocation</param-name>
>          <param-value>/WEB-INF/mySpring.xml</param-value>
>        </context-param>
>
>        <context-param>
>          <param-name>tapestry.use-external-spring-context</param-name>
>          <param-value>true</param-value>
>        </context-param>
>
>    <filter>
>        <filter-name>app</filter-name>
>        <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
>    </filter>
>        <filter>
>          <filter-name>app</filter-name>
>          
> <filter-class>org.apache.tapestry5.spring.TapestrySpringFilter</filter-class>
>        </filter>
>
>    <filter-mapping>
>        <filter-name>app</filter-name>
>        <url-pattern>/*</url-pattern>
>    </filter-mapping>
>
> <listener>
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
> </listener>
>
> </web-app>
>
> I can't see any mistake! The spring xml file is loaded OK, but then says:
> No service implements the interface
> org.springframework.context.ApplicationContext.
>
>
>
> On Tue, Sep 13, 2011 at 1:02 PM, Steve Eynon
> <steve.ey...@alienfactory.co.uk> wrote:
>> Are you using the TapestrySpringFilter in your web.xml as described in:
>>
>> http://tapestry.apache.org/integrating-with-spring-framework.html
>>
>> ???
>>
>> We're using Spring (much to my dismay, mind) with Tapestry T5.2.6 (the
>> latest endorsed stable build) without a hitch. For us, everything
>> plugs together seamlessly and without any configuration or effort.
>> Both Spring services being injected in T5 services and T5 being
>> injected into Spring services.
>>
>> We did nothing but follow the instructions!
>>
>> Steve.
>>
>> On 13 September 2011 23:50, Alfonso Quiroga <alfonsose...@gmail.com> wrote:
>>> Hi! I'm using tapestry 2.5.2, and tapestry-spring 2.5.2 too. I did the
>>> few steps posted in the documentation. When I initialize the web
>>> application I get this:
>>>
>>> "No service implements the interface
>>> org.springframework.context.ApplicationContext"
>>>
>>> I've seen at least 3 threads in markmail and nobody answered this. So
>>> it's not possible an integration with Spring? For my project this is
>>> crucial, if I have no spring support, I'll have to choose another web
>>> framework.
>>>
>>> Thanks in advance!
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to