Version qpid-broker-j-6.1.4
Following README.txt, I did this:
1. Built qpid broker:
mvn clean install -DskipTests
2. Setup to run examples:
mvn clean package dependency:copy-dependencies -DskipTests
3. Ran examples:
java -cp
"client/example/target/classes/:client/example/target/dependency/*"
org.apache.qpid.example.Drain
Step 3 failed with this error:
Error: Could not find or load main class org.apache.qpid.example.Drain
A search indicated that Drain.class was here:
./client/example/target/classes/org/apache/qpid/example/Drain.class
which is the proper location.
Since I was running under Windows7/Cygwin, I tried again replacing the
colon in the classpath with semicolon. I got this error:
java.lang.NoClassDefFoundError: javax/jms/Connection
...
Caused by: java.lang.ClassNotFoundException: javax.jms.Connection
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
I am guessing the solution is simple, but fail to see it. Suggestions?
=Dennis Heimbigner
Unidata
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]