When I try to run the CamelJmsToFileExample, I get the exception below. Can
anyone help to figure out what went wrong?

Cheers,
M.S:

04.03.2009 16:40:02 org.apache.camel.impl.DefaultCamelContext <init>
INFO: JMX enabled. Using InstrumentationLifecycleStrategy.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/springframework/transaction/PlatformTransactionManager
        at
cameltest.CamelJmsToFileExample.main(CamelJmsToFileExample.java:50)
Caused by: java.lang.ClassNotFoundException:
org.springframework.transaction.PlatformTransactionManager
        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)
        ... 1 more

-- 
View this message in context: 
http://www.nabble.com/java.lang.NoClassDefFoundError-when-running-CamelJmsToFileExample-tp22341345p22341345.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to