squakez commented on PR #5488:
URL: https://github.com/apache/camel-k/pull/5488#issuecomment-2126489443
Configmap tests are failing because when we use the fast-jar, the resources
provided in the classpath are not "visible" to the route directly. The
following one is failing (`java -cp ... -jar dependencies/quarkus-run.jar`):
```
...
- setBody:
simple: "resource:classpath:my-configmap-key"
...
```
with:
```
[2] Caused by: java.io.FileNotFoundException: Cannot find resource:
classpath:greetings-api.json for URI: classpath:greetings-api.json
[2] at
org.apache.camel.support.ResourceHelper.resolveMandatoryResourceAsInputStream(ResourceHelper.java:114)
[2] at
org.apache.camel.support.LanguageSupport.loadResource(LanguageSupport.java:74)
```
The same is working correctly with explicit execution (ie, `java -cp ...
io.quarkus.bootstrap.runner.QuarkusEntryPoint`)
--
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]