You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Juan Alvarez <ja...@fluidsignal.com> on 2003/02/13 22:06:10 UTC
ClassNotFoundProblems when subclassing BasePage
I make 3 methods to be reusable across some similar pages, so i built a
class that ineherits from BasePage, and make the rest of my Pages
extends from this class.
But i always got a classnotfound problem, i deploy in jboss, simulating
an ear and wars with directories.
Additionaly, BasePage is in the tapestry jar, and my intermediate class
and all the other ones pages in his class files in the classes
directory.
Did you know something about it?
TIA
--
Juan Alvarez Fluidsignal Group S.A.
mailto:jalvarez@fluidsignal.com http://www.fluidsignal.com/
Key fingerprint: 15C4 0986 A174 862A B607 8EEA 934F 8649 07E2 EA40
RE: ClassNotFoundProblems when subclassing BasePage
Posted by "Howard M. Lewis Ship" <hl...@attbi.com>.
Need more information about where the intermediate class lives. Tapestry
makes use of the Thread contextClassLoader when instantiating classes; it
should be able to see anything on the classpath, plus anything in
WEB-INF/classes or WEB-INF/lib.
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/proposals/tapestry
> -----Original Message-----
> From: Juan Alvarez [mailto:jalvarez@fluidsignal.com]
> Sent: Thursday, February 13, 2003 4:06 PM
> To: tapestry-user@jakarta.apache.org
> Subject: ClassNotFoundProblems when subclassing BasePage
>
>
> I make 3 methods to be reusable across some similar pages, so
> i built a class that ineherits from BasePage, and make the
> rest of my Pages extends from this class.
>
> But i always got a classnotfound problem, i deploy in jboss,
> simulating an ear and wars with directories.
>
> Additionaly, BasePage is in the tapestry jar, and my
> intermediate class and all the other ones pages in his class
> files in the classes directory.
>
> Did you know something about it?
>
> TIA
>
> --
> Juan Alvarez Fluidsignal Group S.A.
> mailto:jalvarez@fluidsignal.com http://www.fluidsignal.com/
> Key fingerprint: 15C4 0986 A174 862A B607 8EEA 934F 8649 07E2 EA40
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>