You can write a context listener that prints the class path entries (most
class loaders are URLClassLoaders)

Sent from tablet device.  Please excuse typos and brevity.
On Feb 28, 2012 10:47 PM, "Andre Schütz" <schuetz.an...@gmx.net> wrote:

> Hi,
>
> thank you for the answer. I defined Wicket 1.5.3 in the pom.xml. There is
> no other version defined on my system. Do you have any proposals, where I
> should check for another version on the system?
>
> On Thu, 23 Feb 2012 22:29:30 +0100
> Martin Grigorov <mgrigo...@apache.org> wrote:
>
> > Hi,
> >
> > Such kind of errors occur when you have several versions of Wicket in
> > the classpath.
> >
> > 2012/2/23 "André Schütz" <andre-p...@gmx.de>:
> > > Hello,
> > >
> > > I get the following error message during a start of the tomcat server
> with a clean packed wicket application:
> > >
> > > /**
> > >  * BEGIN
> > >  */
> > >
> > > Exception in thread "Thread-2" java.lang.NoClassDefFoundError:
> org/apache/wicket/ApplicationListenerCollection$2
> > >        at
> org.apache.wicket.ApplicationListenerCollection.onBeforeDestroyed(ApplicationListenerCollection.java:44)
> > >        at
> org.apache.wicket.Application.internalDestroy(Application.java:639)
> > >        at
> org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:563)
> > >        at
> org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:478)
> > >        at
> org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:357)
> > >        at
> org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3873)
> > >        at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4605)
> > >        at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
> > >        at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
> > >        at
> org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
> > >        at
> org.apache.catalina.core.StandardService.stop(StandardService.java:584)
> > >        at
> org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
> > >        at org.apache.catalina.startup.Catalina.stop(Catalina.java:643)
> > >        at
> org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:687)
> > > Caused by: java.lang.ClassNotFoundException:
> org.apache.wicket.ApplicationListenerCollection$2
> > >        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
> > >        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
> > >        ... 14 more
> > >
> > > /**
> > >  * END
> > >  */
> > >
> > > Any ideas about this error?
> > >
> > > Thanks,
> > > Andre
> > > --
> > > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> > > belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
>
> --
> Andre Schütz <schuetz.an...@gmx.net>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to