slf4j is probably the missing dependency. The noclassdef is usually for a dependent class. IdGenerator is in activemq-client
On 30 July 2014 06:00, nstoyanov <[email protected]> wrote: > Hello, > > I am trying to use ActiveMQ 5.10.0 with SoapUI and Hermes 1.14. I get the > error below when I try and add a queue. I presume Hermes can't find the type > IdGenerator in any of the loaded jars. Which are: > > <http://activemq.2283324.n4.nabble.com/file/n4683848/loaded_jars.png> > > Does anyone know where this class is defined? I looked for activemq-util jar > in the binary distribution but I did not find such a file. > > > java.lang.NoClassDefFoundError: Could not initialize class > org.apache.activemq.util.IdGenerator > at > org.apache.activemq.ActiveMQConnectionFactory.getClientIdGenerator(ActiveMQConnectionFactory.java:969) > at > org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:363) > at > org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:331) > at > org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:303) > at > org.apache.activemq.ActiveMQConnectionFactory.createQueueConnection(ActiveMQConnectionFactory.java:260) > at > hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:147) > at > hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:92) > at > hermes.impl.jms.ConnectionSharedManager.reconnect(ConnectionSharedManager.java:81) > at > hermes.impl.jms.ConnectionSharedManager.connect(ConnectionSharedManager.java:91) > at > hermes.impl.jms.ConnectionSharedManager.getConnection(ConnectionSharedManager.java:104) > at > hermes.impl.jms.ConnectionSharedManager.getObject(ConnectionSharedManager.java:142) > at > hermes.impl.jms.ThreadLocalSessionManager.connect(ThreadLocalSessionManager.java:190) > at > hermes.impl.jms.ThreadLocalSessionManager.getSession(ThreadLocalSessionManager.java:570) > at > hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:460) > at > hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:367) > at > hermes.browser.tasks.BrowseDestinationTask.invoke(BrowseDestinationTask.java:141) > at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175) > at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170) > at java.lang.Thread.run(Unknown Source) > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/java-lang-NoClassDefFoundError-Could-not-initialize-class-org-apache-activemq-util-IdGenerator-tp4683848.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://redhat.com http://blog.garytully.com
