-
Enhancement
-
Resolution: Done
-
Minor
-
2.0
-
None
To reproduce
1. New project
2. Fuse project
3. Select the camel-blueprint archetype
4. Create the project
5. Right click the camel-context.xml file
6. Run as Local CamelContext
It fails
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ 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:680) *************************************
We cannot run OSGi blueprint project using the maven camel:run plugin. We should probably disable that menu item in the right click menu.
Or add some dialog box which explains this is not supported to run, if the end user click it.