[ https://issues.apache.org/jira/browse/CAMEL-21134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otavio Rodolfo Piske updated CAMEL-21134: ----------------------------------------- Description: Related to CAMEL-21133. Some users might be inclined to try generating the project with the correct dependencies in one shot as a way to try to work-around the problem: {{camel export --dependency=io.quarkiverse.langchain4j:quarkus-langchain4j-core:0.16.4 --dependency=io.quarkiverse.langchain4j:quarkus-langchain4j-openai:0.16.4 --runtime=quarkus Weather.java}} However, that fails with: {{java.lang.IllegalStateException: Unable to locate CDIProvider)}} was: Related to CAMEL-21133. Some users might be inclined to try generating the project with the correct dependencies in one shot as a way to try to work-around the problem: {{camel export --dependency=io.quarkiverse.langchain4j:quarkus-langchain4j-core:0.16.4 --dependency=io.quarkiverse.langchain4j:quarkus-langchain4j-openai:0.16.4 --runtime=quarkus Weather.java}} However, that fails with: {{java.lang.IllegalStateException: Unable to locate CDIProvider at jakarta.enterprise.inject.spi.CDI.findAllProviders(CDI.java:137) at jakarta.enterprise.inject.spi.CDI.getCDIProvider(CDI.java:91) at jakarta.enterprise.inject.spi.CDI.current(CDI.java:64)}} > camel-jbang: unable to export Quarkus project due to missing CDIProvider > ------------------------------------------------------------------------ > > Key: CAMEL-21134 > URL: https://issues.apache.org/jira/browse/CAMEL-21134 > Project: Camel > Issue Type: Bug > Components: camel-jbang > Affects Versions: 4.7.0 > Reporter: Otavio Rodolfo Piske > Priority: Major > > Related to CAMEL-21133. > Some users might be inclined to try generating the project with the correct > dependencies in one shot as a way to try to work-around the problem: > {{camel export > --dependency=io.quarkiverse.langchain4j:quarkus-langchain4j-core:0.16.4 > --dependency=io.quarkiverse.langchain4j:quarkus-langchain4j-openai:0.16.4 > --runtime=quarkus Weather.java}} > However, that fails with: > {{java.lang.IllegalStateException: Unable to locate CDIProvider)}} -- This message was sent by Atlassian Jira (v8.20.10#820010)