[ https://issues.apache.org/jira/browse/CAMEL-21416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrej Vano closed CAMEL-21416. ------------------------------- Resolution: Not A Bug strange, it also works for me now. Probably some mess in my env. Closing > camel-jbang: Simple camel run --runtime camel-quarkus hello.yaml fails with > ClassNotFoundException > -------------------------------------------------------------------------------------------------- > > Key: CAMEL-21416 > URL: https://issues.apache.org/jira/browse/CAMEL-21416 > Project: Camel > Issue Type: Bug > Components: camel-jbang > Affects Versions: 4.8.1 > Reporter: Andrej Vano > Priority: Minor > > What I did: > 1. jbang app install --force camel@apache/camel > 2. camel init hello.yaml > 3. camel run --runtime camel-quarkus hello.yaml > {code} > [~]$ camel run --runtime camel-quarkus hello.yaml > java.lang.ClassNotFoundException: > org.apache.camel.kamelets.catalog.KameletsCatalog > at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) > at > org.apache.camel.dsl.jbang.core.commands.catalog.KameletCatalogHelper.loadKamelets(KameletCatalogHelper.java:151) > at > org.apache.camel.dsl.jbang.core.commands.catalog.KameletCatalogHelper.findKameletNames(KameletCatalogHelper.java:37) > at > org.apache.camel.dsl.jbang.core.commands.ExportBaseCommand.resolveDependencies(ExportBaseCommand.java:368) > at > org.apache.camel.dsl.jbang.core.commands.ExportQuarkus.resolveDependencies(ExportQuarkus.java:448) > at > org.apache.camel.dsl.jbang.core.commands.ExportQuarkus.export(ExportQuarkus.java:117) > at org.apache.camel.dsl.jbang.core.commands.Run.runQuarkus(Run.java:912) > at org.apache.camel.dsl.jbang.core.commands.Run.run(Run.java:414) > at org.apache.camel.dsl.jbang.core.commands.Run.doCall(Run.java:319) > at > org.apache.camel.dsl.jbang.core.commands.CamelCommand.call(CamelCommand.java:71) > at > org.apache.camel.dsl.jbang.core.commands.CamelCommand.call(CamelCommand.java:37) > at picocli.CommandLine.executeUserObject(CommandLine.java:2045) > at picocli.CommandLine.access$1500(CommandLine.java:148) > at > picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465) > at picocli.CommandLine$RunLast.handle(CommandLine.java:2457) > at picocli.CommandLine$RunLast.handle(CommandLine.java:2419) > at > picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277) > at picocli.CommandLine$RunLast.execute(CommandLine.java:2421) > at picocli.CommandLine.execute(CommandLine.java:2174) > at > org.apache.camel.dsl.jbang.core.commands.CamelJBangMain.run(CamelJBangMain.java:173) > at > org.apache.camel.dsl.jbang.core.commands.CamelJBangMain.run(CamelJBangMain.java:62) > at main.CamelJBang.main(CamelJBang.java:36) > {code} > the same issues can be observed with {{runtime camel-spring-boot}}, with > {{runtime camel-main}} it works. -- This message was sent by Atlassian Jira (v8.20.10#820010)