Don't know if it is related but I've had a couple of similar errors
when my inherited Tree is initialized. The problem then was that the
static blocks of the superclass failed because of missing resources.
This resulted in a NoClassDefFoundError on the MyTree class...


On 3/31/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I have no idea what that might be. Could you try setting a break point
> in that init method?
>
> Eelco
>
> On 3/30/06, Matthias Albert <[EMAIL PROTECTED]> wrote:
> > Hi,
> > today I tried to use my own class MyReasourceStreamLocator based on
> > AbstractResourceStreamLocator and registered it in Application.init()
> > (the derived method).
> >
> > Surprisingly, I got a "NoClassDefFoundError". A part of the stack trace
> > is shown below. I am using Wicket 1.2beta2.
> >
> >
> > java.lang.NoClassDefFoundError
> >         java.lang.Class.forName0(Native Method)
> >         java.lang.Class.forName(Class.java:164)
> > wicket.markup.html.tree.TreeComponentInitializer.class$(TreeComponentInitializer.java:38)
> > wicket.markup.html.tree.TreeComponentInitializer.init(TreeComponentInitializer.java:38)
> >         wicket.Initializer.init(Initializer.java:59)
> >         wicket.Application.initialize(Application.java:651)
> >         wicket.Application.initializeComponents(Application.java:716)
> >         wicket.Application.initializeComponents(Application.java:693)
> >         wicket.protocol.http.WicketServlet.init(WicketServlet.java:287)
> >
> >
> > Line 38 in the source file TreeComponentInitializer.java is the first
> > line inside this method:
> >
> > public void init(Application application)
> > {
> >   PackageResource.bind(application, Tree.class, "blank.gif"); //line #38
> >   PackageResource.bind(application, Tree.class, "minus.gif");
> >   PackageResource.bind(application, Tree.class, "plus.gif");
> >   PackageResource.bind(application, Tree.class, "tree.css");
> > }
> >
> >
> > Could it be a problem that Tree is an abstract class?
> >
> >
> > Matthias Albert
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> > that extends applications into web and mobile media. Attend the live webcast
> > and join the prime developer group breaking into this new coding territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to