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

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

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)

原因

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.

ソリューション

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

 

最終更新日 2016 年 6 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.