Hello!

I'm trying to run simple straighforward HelloWorld as in
http://tapestry.apache.org/tapestry5/tutorial1/forms2.html.

I created a tapestry project using maven2 archetype. It deploys
in jetty without any problem and I can make changes and so on.

Although, when I add to pom.xml following:
     <dependency>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>1.8.0.7</version>
    </dependency>
    <dependency>
      <groupId>org.apache.tapestry</groupId>
      <artifactId>tapestry-hibernate</artifactId>
      <version>5.0.5</version>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate</artifactId>
      <version>3.2.5.ga</version>
    </dependency>

I get deployment time error like:
[ERROR] mortbay.log failed app
java.lang.NoClassDefFoundError: 
org/apache/tapestry/ioc/services/ThreadCleanupListener
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at 
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:147)
        at 
org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:137)

It seems that it can't find a class that resides in the same jar-file.

I've googled for two days without result (it seems it should work
straight without any problems like this) and I give up.

How can this be fixed?

PS. Jetty 6.1.14, tapestry 5.0.18.


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

Reply via email to