Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a workspace where I created a Routine where I added my External Libs.
This works fine.
Then I had exported it to a new workspace, added the same libs.
But when I run the job I get
Exception in thread "Thread-2" java.lang.NoClassDefFoundError: org/jose4j/jwt/JwtClaims
at routines.GenerateJWTRoeselare.buildClientAssertion(GenerateJWTRoeselare.java:43)
....
Caused by: java.lang.ClassNotFoundException: org.jose4j.jwt.JwtClaims
...
And when I open the code Generare there are no error for missing libs
And when I type code, it's autocompleted
Does someone have an idea what I'm missing?
Thanks!
Solved.
I had to remove the GenerateJWTRoeselare user routine from the setup routine dependencies and add it again.
Solved.
I had to remove the GenerateJWTRoeselare user routine from the setup routine dependencies and add it again.
Hello,
Thanks for letting us know you have resolved this issue by yourself.
Here is a KB article about: How to include multiple runtime JAR files with a Job
Hope it will be helpful for your further processing.
Best regards
Sabrina
Hi Sabrina,
I tried everything, from re-adding the libs to tLoadLib. All the libs were loaded since autocomplete worked in the code but it was a runtime that there was something wrong.
I deleted GenerateJWTRoeselare and added it again, then it worked. Could have been some caching mechanism going fubar.