On Fri, 06 Jun 2014 05:51:08 -0300, jeremias.epp...@web.de <jeremias.epp...@web.de> wrote:

  java.lang.ClassNotFoundException: org.apache.tapestry5.TapestryFilter

That error Message is absolutly bullshit, it  totally missleading me.
The real problem is that tapestry depends on a lot of jars and some of
jars from tapestry have dependencies to some other libraries like
hibernate, mongodb and spring and are not needed for the helloworld
example.

I'm sorry, but you're the one saying BS here. :P The error message, which isn't from Tapestry, but from Tomcat, is absolutely clear: you mentioned a class in your web.xml which isn't in the webapp classpath. Tapestry-core (the web framework) doesn't not depend on Hibernate, MongoDB nor Spring. Some optional stuff do. tapestry-core has exactly 5 runtime dependencies, including transitive ones which don't come from the Tapestry project itself: commons-codec, Antlr, SLF4J (which is also used by an awful lot of other libraries), javax.inject (a Java SSR), Servlet API (which will actually be provided by your servlet container).

You were having a dependency problem and that's exactly why you should some tool to handle it. Maven and Gradle are quite good for that and have support from IDEs. Just use one of them.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to