Receiving the following error when trying to EXPORT a report (PDF, Excel and CSV) from Jasper installed on Linux:
The server has encountered an error. Please excuse the inconvenience.
Error Message java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
Environment
Release: Component: SPCJSP
Resolution
Add JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true" to the "<<CA Business Intelligence Installed Directory>>/apache-tomcat/bin/setenv.sh" file and the restart the jasper tomcat server.