title: Configuration issue in HermesJMS - java.lang.NoClassDefFoundError for BeanSupport class
body: <p>I am trying to test a message using HermesJMS. I am getting a <code>java.lang.NoClassDefFoundError</code> for the <code>BeanSupport</code> class. What could be the issue?</p>
  
  <p>I have configured the required jars under specific path and configured the same in hermes-config.xml within the tag <code>&lt;/classpathGroup&gt;</code>.
  The <code>org.apache.activemq.artemis.utils.uri.BeanSupport</code> is present in <code>artemis-commons-2.0.0.jar</code> which is already included in classpathGroup which I am able to view under Options->Configuration->Providers in HermesJMS.
  I have included all the required jars and configured the same.
  Few blogs suggested that the version of jar might be the cause of the issue. I tried all versions of artemis-commons jar yet, I am getting the same error.
  Kindly suggest your views on the issue. </p>
  
  <p>The complete stack of the error message :</p>
  
  <pre><code>java.lang.NoClassDefFoundError: Could not initialize class org.apache.activemq.artemis.utils.uri.BeanSupport
  at org.apache.activemq.artemis.uri.schema.serverLocator.AbstractServerLocatorSchema.newConnectionOptions(AbstractServerLocatorSchema.java:29)
  at org.apache.activemq.artemis.uri.schema.serverLocator.TCPServerLocatorSchema.internalNewObject(TCPServerLocatorSchema.java:42)
  at org.apache.activemq.artemis.uri.schema.serverLocator.TCPServerLocatorSchema.internalNewObject(TCPServerLocatorSchema.java:33)
  at org.apache.activemq.artemis.utils.uri.URISchema.newObject(URISchema.java:86)
  at org.apache.activemq.artemis.utils.uri.URISchema.newObject(URISchema.java:30)
  at org.apache.activemq.artemis.utils.uri.URIFactory.newObject(URIFactory.java:59)
  at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.newLocator(ServerLocatorImpl.java:411)
  at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.&lt;init&gt;(ActiveMQConnectionFactory.java:209)
  at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.&lt;init&gt;(ActiveMQConnectionFactory.java:202)
  at org.apache.activemq.artemis.jms.client.ActiveMQJMSConnectionFactory.&lt;init&gt;(ActiveMQJMSConnectionFactory.java:34)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  at org.jboss.marshalling.reflect.SerializableClass.invokeConstructor(SerializableClass.java:340)
  at org.jboss.marshalling.reflect.SerializableClass.callNoArgConstructor(SerializableClass.java:292)
  at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1408)
  at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
  at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:205)
  at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
  at org.wildfly.naming.client.remote.RemoteClientTransport.lookup(RemoteClientTransport.java:243)
  at org.wildfly.naming.client.remote.RemoteContext.lambda$lookupNative$0(RemoteContext.java:190)
  at org.wildfly.naming.client.NamingProvider.performExceptionAction(NamingProvider.java:222)
  at org.wildfly.naming.client.remote.RemoteContext.performWithRetry(RemoteContext.java:100)
  at org.wildfly.naming.client.remote.RemoteContext.lookupNative(RemoteContext.java:188)
  at org.wildfly.naming.client.AbstractFederatingContext.lookup(AbstractFederatingContext.java:74)
  at org.wildfly.naming.client.store.RelativeFederatingContext.lookupNative(RelativeFederatingContext.java:58)
  at org.wildfly.naming.client.AbstractFederatingContext.lookup(AbstractFederatingContext.java:74)
  at org.wildfly.naming.client.AbstractFederatingContext.lookup(AbstractFederatingContext.java:60)
  at org.wildfly.naming.client.AbstractFederatingContext.lookup(AbstractFederatingContext.java:66)
  at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:144)
  at javax.naming.InitialContext.lookup(InitialContext.java:417)
  at hermes.JNDIConnectionFactory.createConnection(JNDIConnectionFactory.java:105)
  at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:126)
  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(Thread.java:748)
  </code></pre>