Re: NoClassDefFoundError: org/apache/log4j/Category

2007-09-05 Thread Farrukh Najmi
The solution to my problem with jetty6 and cargo-maven2-plugin was to add the following systemProperties element to the container configuration to the jetty6 container's configuration element: container containerIdjetty6x/containerId

Re: NoClassDefFoundError: org/apache/log4j/Category

2007-09-04 Thread Farrukh Najmi
Hi Dennis, Thank you for your helpful note. I tried specifying the property to turn on common-logging 1.1 diags using all of the following but did not get any output: * mvn -Dorg.apache.commons.logging.diagnostics.dest=STDOUT cargo:start * env

NoClassDefFoundError: org/apache/log4j/Category

2007-08-31 Thread Farrukh Najmi
Hello, I am using cargo-maven2-plugin for deploying my webapp into my webcontainer. I have no problems using tomcat5x profile but when I use the jetty6x profile with: container containerIdjetty6x/containerId

Re: NoClassDefFoundError: org/apache/log4j/Category

2007-08-31 Thread Dennis Lundberg
This is a classic, but really has nothing to do with Maven. The root cause is that commons-logging and log4j are in different class loaders. The best way to track down what is going on is to install commons-logging 1.1 (if you are not already using that version) and to turn on diagnostics