I get the following exception when I try to run a simple JMS client example. I've
googled various phrases in attempt to find required jar files to no avail. I currently
have the following in my environment:
F:\jboss-messaging-1.4.5.GA\jboss-messaging.jar
F:\jboss-4.2.3.GA\client\jboss-j2ee.jar
F:\jboss-4.2.3.GA\client\jbossall-client.jar
F:\jboss-4.2.3.GA\client\jboss-client.jar
F:\javassist-3.3\javassist.jar
F:\jboss-4.2.3.GA\client\jboss-ejb3-client.jar
F:\jboss-4.2.3.GA\client\jboss-aop-jdk50-client.jar
F:\jboss-4.2.3.GA\client\jboss-aspect-jdk50-client.jar
What are the others that I need and where can I find them?
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/aop/DynamicAOPStrategy
at
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.(ClientConnectionFactoryDelegate.java)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at
sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
at java.lang.reflect.Field.getLong(Field.java:528)
at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1614)
at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:425)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.(ObjectStreamClass.java:413)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:547)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.gdit.listener.JMSExample.testMessage(JMSExample.java:35)
at com.gdit.listener.JMSExample.main(JMSExample.java:20)
Caused by: java.lang.ClassNotFoundException: org.jboss.aop.DynamicAOPStrategy
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 30 more
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267091#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...