You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "essobedo (via GitHub)" <gi...@apache.org> on 2023/07/05 07:52:55 UTC

[GitHub] [camel-quarkus] essobedo commented on pull request #5053: chore: fix various build/compilation warnings

essobedo commented on PR #5053:
URL: https://github.com/apache/camel-quarkus/pull/5053#issuecomment-1621228175

   > @essobedo I'm facing some `ClassNotFoundException` related issues here about Groovy and jOOR when running the Native tests, like:
   > 
   > ```
   > [error]: Build step org.apache.camel.quarkus.component.groovy.deployment.GroovyProcessor#configureLanguage
   > threw an exception: java.lang.IllegalStateException: java.lang.ClassNotFoundException:
   > org.apache.camel.quarkus.component.groovy.generated.Expression668axhkmpOfBwe2iixBEtT194721N7sqMJrOlgVZAJVxs61
   > ```
   > 
   > ```
   > [error]: Build step org.apache.camel.quarkus.component.joor.deployment.JoorProcessor#configureLanguage 
   > threw an exception: java.lang.IllegalStateException: java.lang.ClassNotFoundException:
   > org.apache.camel.quarkus.component.joor.generated.Expression78EQYvzpgOCH7d9dbRcJQ89Oc7j47VuG0Nph92qsYLags61
   > ```
   > 
   > I don't yet know how things works under the hood so any help would be appreciated :)
   
   It is because you replaced `recorderContext.classProxy` with `Class.forName` in the Groovy and Joor processors, I already tried it before as it is supposed to replace it but it did not work as you can see. Those classes are generated classes based on expressions extracted from the route definitions
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org