activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott <>
Subject Error message about ActiveMQConnectionFactory
Date Sat, 18 Jun 2011 13:01:27 GMT
Hi All, 

I am new to Java and Activemq, and i try to create a message queue
application in eclipse. I copy code from

But i can't make it work, i have added activemq-all-5.5.0.jar and
slf4j-log4j12-1.6.1.jar file. but i got a error as below:

Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not
initialize class org.apache.activemq.ActiveMQPrefetchPolicy
	at Publisher$
	at Source)

Can anyone give me a help?

by the way, i am not sure whether it is caused by "JNDI", i don't really
know what is it. But i saw it in

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

View raw message