Issue Description
After deployment, in a linux-based OS, running the first request for JRS elicits an error: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment.
Resolution
Ensure you are setting the JVM argument -Djava.awt.headless=true, for example in Linux, in a setenv.sh of Tomcat use:
export JAVA_OPTS="-Djava.awt.headless=true"
Ref. Case 01882734
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now