NoClassDefFoundError when Scanning SVN Repository
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
The following error appears in Fisheye log:
1
2
java.lang.NoClassDefFoundError - Could not initialize class org.tigris.subversion.javahl.SVNClient
Cause
Fisheye is unable to locate the SVNClient jar files or the jar files being used do not contain the needed class.
Resolution
It is recommended to use SVNKit bundled in Fisheye (version 1.4 and onwards).
Ensure that JAR
and Dynamic Library
are not set in Administration >> Server Settings >> Subversion Client
by leaving them blank, therefore the default SVNKit bundled with Fisheye will be used.
To use the native client, please follow the documentation to set it up.
Was this helpful?