geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Bartel <>
Subject Re: [Build] Maven run
Date Sun, 07 Sep 2003 05:49:52 GMT

OK I tried maven run:main, and  get a class not found exception:
     [java] 15:41:43,725 INFO  [Geronimo] Starting JMXKernel
     [java] 15:41:44,184 INFO  [JMXKernel] Booting MLets from URL 
     [java] 15:41:44,666 ERROR [Geronimo] Error starting Server
     [java] null nested error is 
java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser
     [java] java.lang.NoClassDefFoundError: 
     [java]      at 

This seems to be because the maven.xml file specificially excludes the 
xerces jar from the classpath for the run:main target. Why is this? I 
included it and now I seem to be able to run the test deployment OK.


Dain Sundstrom wrote:
> Use maven run:main
> -dain
> On Saturday, September 6, 2003, at 10:13 PM, Vikram Goyal wrote:
>> I can't get it to run even after that. I get the error:
>>     [java] 13:11:13,836 ERROR [DeploymentScanner] null nested error is
>> java.lang
>> .NoClassDefFoundError: org/apache/commons/logging/LogFactory
>> I  know that the commons logging is available so I am not sure what the
>> problem is.
>> Vikram

View raw message