Camel Quarkus Core causes Exception

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Camel Quarkus Core causes Exception

hakuseki
Hi

I just migrated my quarkus sample app to Camel 1.0.0-M7 and using 1.4.1.Final of Quarkus on GraalVM for Java 11 and I now get this exception on startup:

2020-04-30 11:24:03,079 ERROR [io.qua.dep.dev.DevModeMain] (main) Failed to start Quarkus: java.lang.NoSuchMethodError: 'void io.quarkus.builder.BuildChainBuilder.setClassLoader(java.lang.ClassLoader)'
        at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:92)
        at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:245)
        at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:130)
        at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:52)
        at io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:61)
        at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:265)
        at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:40)
        at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:129)
        at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:82)
        at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:116)
        at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:56)


It is due to the camel-quarkus-core dependency probably because when left out this error is not thrown.


Sample available here

https://github.com/hakuseki/CamelQuarkusDynamicHttp


Pls advice

M
Reply | Threaded
Open this post in threaded view
|

Re: Camel Quarkus Core causes Exception

Andrea Cosentino-3
Please report on the github issues tracker of camel-quarkus project.

Il giorno gio 30 apr 2020 alle ore 11:31 Mikael Andersson Wigander <
[hidden email]> ha scritto:

> Hi
>
> I just migrated my quarkus sample app to Camel 1.0.0-M7 and using
> 1.4.1.Final of Quarkus on GraalVM for Java 11 and I now get this exception
> on startup:
>
> 2020-04-30 11:24:03,079 ERROR [io.qua.dep.dev.DevModeMain] (main) Failed
> to start Quarkus: java.lang.NoSuchMethodError: 'void
> io.quarkus.builder.BuildChainBuilder.setClassLoader(java.lang.ClassLoader)'
>         at
> io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:92)
>         at
> io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:245)
>         at
> io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:130)
>         at
> io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:52)
>         at io.quarkus.deployment.dev
> .IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:61)
>         at io.quarkus.deployment.dev
> .IsolatedDevModeMain.accept(IsolatedDevModeMain.java:265)
>         at io.quarkus.deployment.dev
> .IsolatedDevModeMain.accept(IsolatedDevModeMain.java:40)
>         at
> io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:129)
>         at
> io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:82)
>         at io.quarkus.deployment.dev
> .DevModeMain.start(DevModeMain.java:116)
>         at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:56)
>
>
> It is due to the camel-quarkus-core dependency probably because when left
> out this error is not thrown.
>
>
> Sample available here
>
> https://github.com/hakuseki/CamelQuarkusDynamicHttp
>
>
> Pls advice
>
> M