FWIW this is not an issue in ActiveMQ 5.0 as we've moved away from backport-util-concurrent to use Java 5. But on 4.x you need the backport-util-concurrent jar on the classpath.
http://mvnrepository.com/artifact/backport-util-concurrent/backport-util-concurrent On 12/10/2007, Motl <[EMAIL PROTECTED]> wrote: > > Hi, I am started writing Java app using ActiveMQ. > I have added javax.jms and activemq-core jars to the project and it > is built successfully. > > When I run the app, I am facing the next problem: > > Exception in thread "main" java.lang.NoClassDefFoundError: > edu/emory/mathcs/backport/java/util/concurrent/ThreadFactory > at src.EmbeddedBrokerTest.main(EmbeddedBrokerTest.java:18) > > line 18 is: > > ConnectionFactory factory = new ActiveMQConnectionFactory(brokerUri); > > > > -- > View this message in context: > http://www.nabble.com/NoClassDefFoundError-error-in-ActiveMQConnectionFactory%28%29-tf4614010s2354.html#a13176456 > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > > -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com
