robotrader opened a new issue, #8158: URL: https://github.com/apache/camel-quarkus/issues/8158
### Bug description https://camel.zulipchat.com/#narrow/channel/257302-camel-quarkus/topic/native.20build.20failed.20for.20smb.2Bquartz/with/568173900 When project has dependencies for camel-quarkus-quartz&camel-quarkus-smb native build fails with stacktrace Error: Class initialization of net.engio.mbassy.dispatch.el.StandardELResolutionContext failed. This error is reported at image build time because class net.engio.mbassy.dispatch.el.StandardELResolutionContext is registered for linking at image build time by command line and command line. .................................... Caused by: java.lang.NoClassDefFoundError: javax/el/FunctionMapper Caused by: java.lang.ClassNotFoundException: javax.el.FunctionMapper How to reproduce Clone https://github.com/apache/camel-quarkus-examples Add dependencies to camel-quarkus-examples/timer-log/pom.xml <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-quartz</artifactId> </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-smb</artifactId> </dependency> Go to folder camel-quarkus-examples/timer-log and run command (build using Docker) mvn -DskipTests=true package -Dnative -Dquarkus.native.container-build=true -Dquarkus.containe I have checked all dependencies in project and didn't find mbassador dependency. It seems, that mbassador used at build time only And, if remove smb OR quartz from dependencies, each of them works fine separately. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
