Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Tapestry

Status
Not open for further replies.

LanyA

Programmer
Jan 29, 2003
23
US
Hello once more, I was hoping to get some help with Tapestry:
I am new to Tapestry and I have been unable to successfully deploy a simple test Tapestry application using Tomcat.

I created a simple Tapestry page using Eclipse 3.1, created an xml file containing

<Context reloadable="true"
path="/trial"
docBase="C:/trial/context">
</Context>

which I placed in my {CATALINA_HOST}/conf/Catalina/localhost folder, and attempted to view using url without any success. I get the following exception message:

Feb 17, 2005 6:06:08 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet trial threw exception
java.lang.NoClassDefFoundError: javassist/NotFoundException
at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.createEnhancedClassFactory(DefaultComponentClassEnhancer.java:72)
at org.apache.tapestry.enhance.DefaultComponentClassEnhancer.<init>(DefaultComponentClassEnhancer.java:66)
at org.apache.tapestry.engine.AbstractEngine.createComponentClassEnhancer(AbstractEngine.java:2207)
at org.apache.tapestry.engine.AbstractEngine.setupForRequest(AbstractEngine.java:1262)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:824)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197)
at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)

Any assistance with this will be greatly appreciated.
 
Hi,

I had this problem tonight as well.

For me (using Tapestry 3.0.2) it seemed that two required jars were missing from my binary download of the software, namely:

javassist
ognl

These are both required, so I got them from the HelloWorld sample code on the manning books website. My app now works OK.

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top