Cannot Create Space Due to NoClassDefFoundError

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Deployed confluence using the IcedTea JDK.

Cause:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.index.SegmentReader
at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:115)
caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.index.SegmentReader
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:1867)
Stack Trace: [hide]

Cause

IcedTea is not compatible with certain libraries that are used within Confluence.

Resolution

Switch to a Oracle Sun JVM.

Last modified on Mar 30, 2016

Was this helpful?

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