Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/qpid/url/URLSyntaxException

I am using QPid with Eclipse and Tomcat. Created a Dynamic Web Application and set the QPID_HOME, QPID_WORK environment variables.

Trying out the Hello.java example mentioned here:-


But i am getting these errors while running this file :-

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/qpid/url/URLSyntaxException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at myApp.runTest(myApp.java:25)
    at myApp.main(myApp.java:15)
Caused by: java.lang.ClassNotFoundException: org.apache.qpid.url.URLSyntaxException
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
 ... 9 more


It looks like you are missing:


Available from http://qpid.apache.org/download.html



if you are using maven.

Need Your Help

Free Editable Grid Component For Asp.Net MVC

asp.net asp.net-mvc grid

I've seening quite a few posts on here regarding grids, but nothing specifically asking for a free grid component that supports editing.

xtsible object, looping in quantmod

r quantmod stocks

I would like to loop through a list of stock symbols and print them with chartSeries. It would be easier than always changing the argument. Unfortunatly I always get an error, when I want to loop or