tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Pfotzer <tom.pfot...@rstarmail.com>
Subject Page present, still get onLoad FAIL: ClassNotFound error
Date Fri, 05 Dec 2008 18:08:18 GMT

I'm new to Tapestry. Installed Serge Eby's AppFuse kick-start package, uses
Tapestry 5.0.17. 
Install went OK. Can start app, but once navigate off main page, get
classNotFound errors accessing some (not all) pages. 

Using Eclipse IDE. Generating exploded WAR. Context root is
wtpwebapps\engine\WEB-INF. 
Page classes and related .tml files are stored in \WEB-INF\classes\...\pages
Components and related .tml files are stored in
\WEB-INF\classes\...\components

Debug is turned on for org.apache.tapestry. Upon server-start, get these
diagnostics, among others:

[engine] INFO [main] ComponentClassResolver.showChanges(275) | Available
pages:
   PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
        ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
               Signup: org.testorg.app.webapp.pages.Signup
             UserEdit: org.testorg.app.webapp.pages.UserEdit
    admin/ActiveUsers: org.testorg.app.webapp.pages.admin.ActiveUsers
   admin/ClickStreams: org.testorg.app.webapp.pages.admin.ClickStreams

Server startup succeeds. 

When I navigate to the UserEdit page, I get a run-time exception,
classNotFound error, thus:

[engine] ERROR [http-8080-Processor24]
RequestExceptionHandler.handleRequestException(170) | Unexpected runtime
exception: java.lang.ClassNotFoundException: caught an exception while
obtaining a class file for org.testorg.app.webapp.pages.UserEdit
org.apache.tapestry5.runtime.ComponentEventException:
java.lang.ClassNotFoundException: caught an exception while obtaining a
class file for org.testorg.app.webapp.pages.UserEdit [at
classpath:org/testorg/app/webapp/pages/MainMenu.tml, line 14, column 51]

Can anyone suggest some possible reasons for this runtime exception? I'm not
seeing any errors/bugs outstanding on Serge's AppFuse-for-Tapestry5 wiki,
and Serge has recently updated the code base there (Aug 30th 2008).  I have
taken care to eliminate all T4 jars and to install all T5 jars. 

Thanks in advance.

Tom
-- 
View this message in context: http://www.nabble.com/Page-present%2C-still-get-onLoad-FAIL%3A-ClassNotFound-error-tp20859516p20859516.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Mime
View raw message