Crowd fails to start and 'Unsupported major.minor version' error is thrown in logs

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

Attempts to start Crowd result in the following (in either catalina.out or atlassian-crowd.log):

2016-05-19 15:26:24,204 localhost-startStop-1 ERROR [springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.crowd.service.client.ClientResourceLocator] for bean with name 'resourceLocator' defined in class path resource [applicationContext-CrowdRestClient.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/atlassian/crowd/service/client/ClientResourceLocator : Unsupported major.minor version 52.0 (unable to load class com.atlassian.crowd.service.client.ClientResourceLocator)

Cause

The JAVA_HOME variable in your environment is configured to use a version that is not supported by Crowd. Please see Crowd's list of Supported Platforms for more information.

Resolution

Install the latest version of Java supported by your version of Crowd, and then set the JAVA_HOME as described in Setting JAVA_HOME:

 

Last modified on Jun 20, 2016

Was this helpful?

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