activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gauche <>
Subject jCLASSPATH issue in Eclipse
Date Wed, 23 May 2012 07:28:21 GMT

Disclaimer: I am not really a Java dev.

I've obtained the latest source from SVN, built it using mvn command line.
Then I generated the eclipse metadata using eclipse:eclipse. It was a
hassle, but only because of my corporate proxy (had to keep refreshing the
repository URLs in Internet Explorer otherwise Maven was being kicked with a
407 by the proxy).

Once I got the eclipse projects imported, I successfully built. I tried
setting up a run configuration that executes the console Main class with
parameter "start". This failed initially because of missing resources
("activemq.xsd"). I found that enabling maven dependency management on all
projects rectified this.

Next problem I get is this whilst attempting to run:

    Caused by: java.lang.ClassNotFoundException:

Checking the CLASSPATH, I see why: a lot of JARs including spring-beans
aren't on it. Looking in maven's dependency tree and pom.xml I see why: 


The scope is precluding these dependencies from being in the CP. At this
point I don't know what the correct course of action is.

Should I change my scope? (I don't even know what that entails)

Should I remove the scope from pom.xml? (seems like it must be there for a

Should I do something else?

Thanks for any help.

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message