Hi

I am trying to use database (MySQL) in CAMEL (v. 2.6). I have defined my SQL
using Spring DSL. When I run
"mvn -e camel:run" I get the following error:

Error occurred while running main from: org.apache.camel.spring.Main
java.lang.ClassNotFoundException: org.apache.camel.spring.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:409)
        at java.lang.Thread.run(Thread.java:662)

Though it is a class not found exception, since I am using maven to download
all the dependencies, is there anything that I might be missing, please
comment.

Thank you



--
View this message in context: 
http://camel.465427.n5.nabble.com/org-apache-camel-spring-Main-class-not-found-exception-tp5025882p5025882.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to