tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Hillyerd" <ja...@hillyerd.com>
Subject Re: Page present, still get onLoad FAIL: ClassNotFound error
Date Fri, 05 Dec 2008 19:45:28 GMT
You will probably want to scroll down further in the stack trace.  If
Tapestry IoC can't resolve everything it needs to inject into a particular
Page, Component or Service then you will see ClassNotFoundException.  It's
likely the JVM was able to load the class fine.

-james

On Fri, Dec 5, 2008 at 10:08 AM, Tom Pfotzer <tom.pfotzer@rstarmail.com>wrote:

>
> 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
>
>


-- 
James A. Hillyerd <james@hillyerd.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message