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 <hls...@gmail.com> > The new archetype doesn't have a dependency on tapestry-spring (it never > did). > > On Fri, Feb 6, 2009 at 2:19 PM, Otho <taa...@googlemail.com> wrote: > > 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> > > > > > > -- > Howard M. Lewis Ship > > Creator Apache Tapestry and Apache HiveMind > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >