Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Building a job where I use a custom created routine.
The job runs in TOS but when I try to run with the .sh script I get:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
JoseException cannot be resolved to a type
JwtClaims cannot be resolved to a type
JwtClaims cannot be resolved to a type
JsonWebSignature cannot be resolved to a type
JsonWebSignature cannot be resolved to a type
AlgorithmIdentifiers cannot be resolved to a variable
at routines.GenerateJWTRoeselare.buildClientAssertion(GenerateJWTRoeselare.java:42)
at talend_shared.magda_get_jwt_token_0_5.MAGDA_get_JWT_token.tFileInputRaw_1Process(MAGDA_get_JWT_token.java:1532)
at talend_shared.magda_get_jwt_token_0_5.MAGDA_get_JWT_token.runJobInTOS(MAGDA_get_JWT_token.java:3555)
at talend_shared.magda_get_jwt_token_0_5.MAGDA_get_JWT_token.main(MAGDA_get_JWT_token.java:3368)
In the GenerateJWTRoeselare.java:
The libs are in the library folder and the .sh script points to the correct .jars.
What am I missing?
Thanks!
Hi @Xiaodi Shi ,
The issue is resolved. I had to update my routines.jar on the linux machine.
Thank you for the follow-up 🙂
-Jonathan
The .bat file on Windows works
Hello,
What is your jDK version in your linux OS? The same JDK version as Windows?
Could you please ensure JDK bin is included in your PATH environment variable and is being reached?
Best regards
Sabrina
Hi @Xiaodi Shi ,
The issue is resolved. I had to update my routines.jar on the linux machine.
Thank you for the follow-up 🙂
-Jonathan
Hello,
Great this issue is resolved.
Feel free to let us know if there is any further help we can give.
Best regards
Sabrina