[GitHub] lburgazzoli edited a comment on issue #57: kamel run runtime/examples/Sample.java fails with java.lang.NoClassDefFoundError

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] lburgazzoli edited a comment on issue #57: kamel run runtime/examples/Sample.java fails with java.lang.NoClassDefFoundError

GitBox
lburgazzoli edited a comment on issue #57: kamel run runtime/examples/Sample.java fails with java.lang.NoClassDefFoundError
URL: https://github.com/apache/camel-k/issues/57#issuecomment-420914388
 
 
   It is because I've changed how the integration is given to the runtime images: before it was included as a resource, now it is on the file system and the class name is computed from the path, I need to re-think how this is computed, maybe using an env var to tell the image the base path for integrations.
   
   Here is the culprit: https://github.com/apache/camel-k/blob/master/runtime/jvm/src/main/java/org/apache/camel/k/jvm/RoutesLoaders.java#L85-L90
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services