Hello, I'm an newbie on ActiveMQ and i have this problem when i try create a ActiveMQConnectionFactory in this piece of code:
String user = ActiveMQConnectionFactory.DEFAULT_USER; String password = ActiveMQConnectionFactory.DEFAULT_PASSWORD; String url = ActiveMQConnectionFactory.DEFAULT_BROKER_URL; ActiveMQConnectionFactory connectionFactory= new ActiveMQConnectionFactory(user, password, url); In have this exception: Exception in thread "main" java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) ........................ at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:83) at org.apache.activemq.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:123) at receiver.ReceiverTest.makeSession(ReceiverTest.java:116) If someone have an idea ? Regards -- View this message in context: http://www.nabble.com/new-ActiveMQConnectionFactory-Error-tp21015515p21015515.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.