Running a Camel-main batch application
See original GitHub issueHi. I have been trying to run a simple camel-main (new in CR3) application in java and kotlin. No luck. Any examples or pointers highly appreciated (in java or kotlin, both better hehehe).
Exception in thread "main" java.lang.RuntimeException: java.lang.LinkageError: loader constraint violation: loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @7068f7ca wants to load class io.quarkus.bootstrap.model.AppModel. A different class with the same name was previously loaded by 'app'. (io.quarkus.bootstrap.model.AppModel is in unnamed module of loader 'app') at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:130) at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:56) Caused by: java.lang.LinkageError: loader constraint violation: loader io.quarkus.bootstrap.classloading.QuarkusClassLoader @7068f7ca wants to load class io.quarkus.bootstrap.model.AppModel. A different class with the same name was previously loaded by 'app'. (io.quarkus.bootstrap.model.AppModel is in unnamed module of loader 'app')
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Aha!!! wonderful, might be good to add that in the documentation. your next Chianti is on me!
you need camel-quarkus-bean extension, forgo to tell you that before