Dain,
The run:main target shouldn't be excluding xerces. I would make the change, but I am too deep in the refactoring to do it.
Never mind, looks like Hiram has fixed it already. :-)
Jan
On Sunday, September 7, 2003, at 12:49 AM, 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
/************************* * Dain Sundstrom * Partner * Core Developers Network *************************/
