You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/04/02 17:30:12 UTC

[GitHub] [camel-k] nicolaferraro opened a new issue #1387: Quarkus runner jar is never rebuilt on layered kits

nicolaferraro opened a new issue #1387: Quarkus runner jar is never rebuilt on layered kits
URL: https://github.com/apache/camel-k/issues/1387
 
 
   When building a new kit, the runner jar is not replaced and this causes issue.
   E.g. When switching from an integration written in groovy (-t quarkus.enabled=true) to one written in Java, the groovy configuration is kept in the runner and we have a runtime problem.
   
   ```
   Exception in thread "main" java.lang.ExceptionInInitializerError
     at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:27)
   Caused by: java.lang.RuntimeException: Failed to start quarkus
     at io.quarkus.runner.ApplicationImpl.<clinit>(ApplicationImpl.zig:358)
     ... 1 more
   Caused by: java.lang.ClassNotFoundException: org.apache.camel.language.groovy.GroovyLanguage
     at java.net.URLClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Unknown Source)
     at io.quarkus.deployment.steps.Core$factoryFinderResolver18.deploy_0(Core$factoryFinderResolver18.zig:158)
     at io.quarkus.deployment.steps.Core$factoryFinderResolver18.deploy(Core$factoryFinderResolver18.zig:36)
     at io.quarkus.runner.ApplicationImpl.<clinit>(ApplicationImpl.zig:304)
     ... 1 more
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k] lburgazzoli closed issue #1387: Quarkus runner jar is never rebuilt on layered kits

Posted by GitBox <gi...@apache.org>.
lburgazzoli closed issue #1387: Quarkus runner jar is never rebuilt on layered kits
URL: https://github.com/apache/camel-k/issues/1387
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [camel-k] nicolaferraro commented on issue #1387: Quarkus runner jar is never rebuilt on layered kits

Posted by GitBox <gi...@apache.org>.
nicolaferraro commented on issue #1387: Quarkus runner jar is never rebuilt on layered kits
URL: https://github.com/apache/camel-k/issues/1387#issuecomment-608492441
 
 
   Reproducer:
   
   ```
   kamel reset
   kamel init one.groovy
   kamel run one.groovy -t quarkus.enabled=true -w
   kamel delete one
   kamel init Two.java
   kamel run Two.java -t quarkus.enabled=true --logs
   
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services