« Return to Thread: [Struts2] Exception starting filter (Connection Timed Out)

Re: [Struts2] Exception starting filter (Connection Timed Out)

by KonTiki :: Rate this Message:

Reply to Author | View in Thread

The Spring context listener is needed only if you do use Spring.
If you do not, then this might be causing the error as Tomcat was unable to find the Spring classes.

Try removing this:
    <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <listener>
         <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>


Pierre Thibaudeau-4 wrote:
Just moving from Struts1 to Struts2.0.11.

No problem on Tomcat 6.0.16.
However, I get the following exception on startup with Tomcat 6.0.14.

Does anyone know a way round this?
(I've included excerpts from web.xml further down.)

 « Return to Thread: [Struts2] Exception starting filter (Connection Timed Out)

LightInTheBox - Buy quality products at wholesale price