java.lang.NoClassDefFoundError while trying to View File History

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

When clicking on the View File History an error appears stating that a java.lang.NoClassDefFoundError was encountered.

The following appears in the atlassian-fisheye.log:

1 2 3 2014-06-19 07:19:49,550 ERROR [qtp234367668-6228140 ] fisheye TotalityFilter-logExceptionDetails - Exception "java.lang.NoClassDefFoundError: org/apache/jsp/tag/web/cru/filehist/otherRevLink_tag" (javax.servlet.ServletException) while processing "/crucible/WEB-INF/jsp/file/fileHistoryContentsResp.jsp" (Referer:"http://sigdev.dstcorp.net/crucible/browse/Exeter/trunk/ExeterProcesses/src/main/java/com/dsths/argon/process/externalinterface/hxp2600/Hxp2600.java") javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/jsp/tag/web/cru/filehist/otherRevLink_tag at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944)

Cause

This problem is caused by an inconsistency in the OSGI plugin cache.

Resolution

  1. Stop Fisheye.

  2. Delete (or move for backup purposes) the entire folder: $FISHEYE_INST/var/osgi-cache (e.g. /fisheye/var/osgi-cache)

  3. Start Fisheye.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.