activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: running broker and classpath problem
Date Thu, 08 Jun 2006 12:58:48 GMT
On 6/8/06, massive.boisson <massive.boisson@gmail.com> wrote:
>
> Hi,
>
> I want to run a standalone broker without having installed activeMQ. This is
> so that other people in my company can take out code from cvs, and simply
> run some ant script I prepared.
>
> So, I have in my lib dir 3 files:
> incubator-activemq-4.0.jar
> spring-1.2.6.jar
> xbean-spring-2.2.jar
>
> and I am doing this:
> java -classpath
> d:\lib\incubator-activemq-4.0.jar;d:\lib\spring-1.2.6.jar;d:\lib\xbean-spring-2.2.jar;
> -jar incubator-activemq-4.0.jar start xbean:activemq.xml
>
> I get this:
> ACTIVEMQ_HOME: .
> Loading message broker from: xbean:activemq.xml
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> java.io.IOException: Could load xbean
> factory:java.lang.NoClassDefFoundError:
> org/springframework/beans/BeansException
> ERROR: java.lang.Exception: java.io.IOException: Could load xbean
> factory:java.lang.NoClassDefFoundError:
> org/springframework/beans/BeansException
>
> Anyone knows what the problem is?
> org/springframework/beans/BeansException is in sping jar and which is in
> classpath.

Spring has a lovely habit of wrapping exceptions so am wondering if
the real NoClassDefFoundError cause is further down in the stack trace
- I wonder could you include the entire stack trace please?

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message