RE: Error during start of wicket application

2012-04-11 Thread Alex Rass
Seems like a classpath issue.
Make sure that all the wicket jars that you need are included in your path.

- Alex 

-Original Message-
From: André Schütz [mailto:andre-p...@gmx.de] 
Sent: Thursday, February 23, 2012 12:13 PM
To: users@wicket.apache.org
Subject: Error during start of wicket application

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



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error during start of wicket application

2012-02-29 Thread Marco Springer
I'm using Intellij myself and with that, in the Project overview I see a
list of dependencies projects are using. With that I can quickly see if I'm
using multiple versions of a certain dependency.

This same type of dependency list is present in Netbeans, only per project.
And with Netbeans you can also generate a dependency graph by right
clicking on your project, and this goes through all dependent projects and
their deps as well.

I have no deep experience with Eclipse, since I somehow dislike Eclipse
with JAVA development, but I think it's available in there somewhere as
well.

I use those dependencies lists as well to find and clean up dependencies.

Cheers,
Marco Springer


Re: Error during start of wicket application

2012-02-29 Thread Martin Grigorov
The problem may also happen when you have wicket-xyz.jar in the web
container's shared folder and additionally in your .war#WEB-INF/lib
folder.

On Wed, Feb 29, 2012 at 10:00 AM, Marco Springer
marcosprin...@gmail.com wrote:
 I'm using Intellij myself and with that, in the Project overview I see a
 list of dependencies projects are using. With that I can quickly see if I'm
 using multiple versions of a certain dependency.

 This same type of dependency list is present in Netbeans, only per project.
 And with Netbeans you can also generate a dependency graph by right
 clicking on your project, and this goes through all dependent projects and
 their deps as well.

 I have no deep experience with Eclipse, since I somehow dislike Eclipse
 with JAVA development, but I think it's available in there somewhere as
 well.

 I use those dependencies lists as well to find and clean up dependencies.

 Cheers,
 Marco Springer



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



Re: Error during start of wicket application

2012-02-28 Thread Andre Schütz
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



Re: Error during start of wicket application

2012-02-28 Thread Bertrand Guay-Paquet

Hi,

I suggest you start from a clean Wicket quickstart to see if at least 
that works. Then, gradually add your components to it until you get the 
same error.




On 28/02/2012 1:58 PM, Andre Schütz 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 Grigorovmgrigo...@apache.org  wrote:


Hi,

Such kind of errors occur when you have several versions of Wicket in
the classpath.

2012/2/23 André Schützandre-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





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error during start of wicket application

2012-02-28 Thread Andre Schütz
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



Re: Error during start of wicket application

2012-02-28 Thread James Carman
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




Error during start of wicket application

2012-02-23 Thread André Schütz
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



Re: Error during start of wicket application

2012-02-23 Thread Martin Grigorov
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