You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2024/08/28 11:30:00 UTC
[jira] [Created] (CAMEL-21134) camel-jbang: unable to export Quarkus project due to missing CDIProvider
Otavio Rodolfo Piske created CAMEL-21134:
--------------------------------------------
Summary: 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
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:
{{Generating fresh run data
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)}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)