'org.apache.jasper.JasperException Unable to compile class for JSP' or Workflow Actions Inaccessible

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

One or both of the following conditions may exist:

  1. Workflow actions may be inaccessible

  2. JIRA applications may throw exceptions on screen

The following appears in the atlassian-jira.log:

1 2 3 4 2007-12-06 10:55:05,327 http-8080-Processor20 ERROR [500ErrorPage] Exception caught in 500 page Unable to compile class for JSP org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:572) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)

Cause

The Tomcat container caches .java and .class files generated by the JSP parser they are used by the web application. Sometimes these get corrupted or cannot be found. This may occur after a patch or upgrade that contains modifications to JSPs.

Resolution

  1. Delete the contents of the <JIRA_INSTALL>/work folder if using standalone JIRA or <CATALINA_BASE>/work if using EAR/WAR installation .

  2. Verify the user running the JIRA application process has Read/Write permission to the <JIRA_INSTALL|CATALINA_BASE>/work directory.

  3. Restart the JIRA application container to rebuild the files.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.