NickCanada wrote:
> Hi,
> 
> I can't deploy the wicket examples (1.3) from the svn repository using the
> Sun Application Server (glassfish v2 b43). It was working in some previous
> wicket 1.3 version but now I get:
> 
> Exception sending context initialized event to listener instance of class
> org.springframework.web.context.ContextLoaderListener
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: No suitable Log
> constructor [Ljava.lang.Class;@c60a18 for
> org.apache.commons.logging.impl.Log4JLogger (Caused by
> java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
> org.apache.commons.logging.LogConfigurationException: No suitable Log
> constructor [Ljava.lang.Class;@c60a18 for
> org.apache.commons.logging.impl.Log4JLogger (Caused by
> java.lang.NoClassDefFoundError: org/apache/log4j/Category))
> 
> The maven generated wicket-examples.war contains both commons-logging1.0.4
> and log4j-1.2.13 in the WEB-INF/lib folder. Do I have to manually
> add/configure something?

You probably have commons-logging in your servlet container's classpath, 
but not log4j. You can Google for this issue. It's also a common one 
with Tomcat.

Regards,

Alastair

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to