Native Client Throws NoClassDefFoundError in Fisheye 2.x

Still need help?

The Atlassian Community is here for you.

Ask the community


Setting up the Native Client in Fisheye/Crucible 2.0+ throws the following error:

ERROR: problem running command
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at com.cenqua.fisheye.FishEyeCtl.mainImpl(
	at com.cenqua.fisheye.FishEyeCtl.main(
Caused by: java.lang.NoClassDefFoundError: org/tigris/subversion/javahl/LogMessageCallback
	at com.cenqua.fisheye.svn.SvnRepositoryEngine.<init>(
	at com.cenqua.fisheye.svn.SvnScmConfig.createRepositoryEngine(
	at com.cenqua.fisheye.RepositoryConfig.createRepositoryEngine(
	at com.cenqua.fisheye.config.RepositoryManager.runRepository(
	at com.cenqua.fisheye.config.RootConfig.startRepositories(
	at com.cenqua.fisheye.ctl.Run.mainImpl(
	at com.cenqua.fisheye.ctl.Run.main(
	... 6 more
Caused by: java.lang.ClassNotFoundException: org.tigris.subversion.javahl.LogMessageCallback
	at Method)
	at java.lang.ClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	at java.lang.ClassLoader.loadClassInternal(
	... 14 more


Fisheye or Crucible 2.0+ requires SVN 1.5+ (with the javahl libs 1.5+) in order for the native client to work, and is incompatible with Subversion 1.4 or earlier.


Upgrade your SVN repository to 1.5 or above and download the javahl 1.5x libs, to connect Fisheye/Crucible 2.x to the native client.

Alternatively you can use the SVNKit client that comes bundled with Fisheye/Crucible 2.x.


If your server fails to start up because of the above error (and you cannot go into administration to remove the native client settings), edit your FISHEYE_INST/config.xml and remove the bit:

<svn-config jar="/path/to/jar" jnilib="path/to/dynamic lib"/>

Without the above, the next time you restart Crucible will use the bundled SVNKit.

If you do not have the above in your config.xml file, but your fisheye server still fails to load up with the error java.lang.NoClassDefFoundError: org/tigris/subversion/javahl/LogMessageCallback, check to ensure that the "svn-javahl.jar" is not being loaded (i.e. does not exist in your FISHEYE_INST/lib or FISHEYE_HOME/lib directory, where the jars are loaded into fisheye) and that it is not being included in the classpath (i.e. not included in the FISHEYE_LIBRARY_PATH Environment Variables ).

Last modified on Nov 21, 2012

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.