You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by kasthurirajan <ka...@yahoo.com> on 2013/05/03 09:24:05 UTC

Need help in deploying a jar file(camel) in karaf 2.3.1

Hi All,

Im trying to deploy a jar file in Karaf 2.3.1 & pls help me out how to
deploy the same.

Also im trying to execute a Jar file through console which was created using
camel 2.11 & facing the below issues.

D:\>java -jar testingcamel.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/camel/spri
ng/Main
        at
org.apache.camel.example.console.CamelConsoleMain.main(CamelConsoleMa
in.java:31)
Caused by: 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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)



--
View this message in context: http://camel.465427.n5.nabble.com/Need-help-in-deploying-a-jar-file-camel-in-karaf-2-3-1-tp5731954.html
Sent from the Camel Development mailing list archive at Nabble.com.