After generating the new archetype I get a

java.lang.ClassNotFoundException:
org.apache.tapestry5.spring.TapestrySpringFilter

The same error occurs also when using a ContextLoaderListener.
Tapestry-Spring and the TapestrySpringFilter are definitely in the
classpath. The spring beans are created normally.

Any idea what that could be?

web.xml contents:

<?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>Test51 Tapestry 5 Application</display-name>

    <!-- Context Parameters -->
    <context-param>
        <param-name>tapestry.app-package</param-name>
        <param-value>de.test.test51</param-value>
    </context-param>
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            /WEB-INF/classes/appContext-main.xml
        </param-value>
    </context-param>

    <!-- Filters -->
    <filter>
    <filter-name>app</filter-name>
    <!-- Special filter that adds in a T5 IoC module derived from the Spring
WebApplicationContext. -->

<filter-class>org.apache.tapestry5.spring.TapestrySpringFilter</filter-class>
  </filter>
    <filter-mapping>
        <filter-name>app</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
</web-app>

Reply via email to