activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoyette <>
Subject NoClassDefFoundError ActiveMQConnectionFactory
Date Wed, 05 Jul 2006 23:30:52 GMT


I'm trying to setup a connection to the broker using this code:

     connectionFactory = new ActiveMQConnectionFactory(
"tcp://localhost:61616" );
     connection = connectionFactory.createTopicConnection();

What's happening is that I'm getting the NoClassDefFound exception being
thrown on the first line.  The libraries (all of the libraries) in the lib
directory are in my classpath so I'm a bit confused as to why this would

Has anyone run in to this?  Any ideas?  There really isn't a lot more to
say...this is really simple but for some reason it's just not working.

Any help would be greatly appreciated.

View this message in context:
Sent from the ActiveMQ - User forum at

View raw message