geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@coredevelopers.net>
Subject Re: [Build] Maven run
Date Sun, 07 Sep 2003 09:11:57 GMT
I think Hiram excluded it to make it work for him.

--jason


On Sunday, September 7, 2003, at 12:49  PM, Jan Bartel wrote:

> Dain,
>
> OK I tried maven run:main, and  get a class not found exception:
> run:main:
>     [java] 15:41:43,725 INFO  [Geronimo] Starting JMXKernel
>     [java] 15:41:44,184 INFO  [JMXKernel] Booting MLets from URL  
> file:/home/janb/src/incubator-geronimo/target/geronimo-DEV/etc/ 
> boot.mlet
>     [java] 15:41:44,666 ERROR [Geronimo] Error starting Server
>     [java] javax.management.RuntimeErrorException: null nested error  
> is java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser
>     [java] java.lang.NoClassDefFoundError:  
> org/apache/xerces/parsers/SAXParser
>     [java]      at  
> org.apache.geronimo.jmx.GeronimoMBeanInfoXMLLoader.<init>(GeronimoMBean 
> InfoXMLLoader.java:75)
> <snip>
>
>
> 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.
>
> Jan
>
> 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
>
>


Mime
View raw message