Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 16608 invoked from network); 7 Sep 2003 05:57:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Sep 2003 05:57:20 -0000 Received: (qmail 93149 invoked by uid 500); 7 Sep 2003 05:56:41 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 92948 invoked by uid 500); 7 Sep 2003 05:56:39 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 92931 invoked from network); 7 Sep 2003 05:56:38 -0000 Received: from unknown (HELO jetty.mortbay.com) (209.235.192.112) by daedalus.apache.org with SMTP; 7 Sep 2003 05:56:38 -0000 Received: (qmail 9762 invoked from network); 7 Sep 2003 05:56:47 -0000 Received: from cpe-203-45-77-110.nsw.bigpond.net.au (HELO mortbay.com) (janb@203.45.77.110) by jetty.mortbay.com with SMTP; 7 Sep 2003 05:56:47 -0000 Message-ID: <3F5AC700.2070702@mortbay.com> Date: Sun, 07 Sep 2003 15:49:52 +1000 From: Jan Bartel Reply-To: janb@mortbay.com Organization: Mort Bay Consulting User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030430 Debian/1.3-5 X-Accept-Language: en, en-us MIME-Version: 1.0 To: geronimo-dev@incubator.apache.org Subject: Re: [Build] Maven run References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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.(GeronimoMBeanInfoXMLLoader.java:75) 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