java.lang.NoClassDefFoundError: com/hubspot/jinjava/Jinjava

Answered

Hello,

I am trying to add Jinjava to a google app engine build. 

I have gotten to the point where I see no errors in the java code, but I get 

java.lang.NoClassDefFoundError: com/hubspot/jinjava/Jinjava

when I try to run.

I have added Jinjava to the libraries. 

-Mike Dorin

0
2 comments

Check the scope of the dependency, if it's PROVIDED, the code will compile and show no errors in IntelliJ IDEA, but will not run on the target server unless it already has this library. Check artifacts configuration and ensure that they include all the required libraries: https://www.jetbrains.com/help/idea/artifacts.html.

0
Avatar
Permanently deleted user

Thank you, that was it.

-Michael Dorin

0

Please sign in to leave a comment.