Confluence Fails to Start After Crowd Integration

お困りですか?

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

コミュニティに質問

症状

An error similar to below is found in atlassian-confluence.log:

2009-12-22 11:59:09,408 ERROR [main] [springframework.web.context.ContextLoader] initWebApplicationContext 
Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'pluginResourceLocator' defined in class path resource [services/pluginServiceContext.xml]: 
Cannot resolve reference to bean 'webResourceIntegration' while setting constructor argument with index 0; 
nested exception is 
:
:
: <massive caused by clauses>
:
Caused by: java.lang.RuntimeException: Cannot specify repository without a key
	at com.atlassian.user.configuration.xml.XMLConfigurationParser.parseRepositoryIdentifier(XMLConfigurationParser.java:159)
	at com.atlassian.user.configuration.xml.XMLConfigurationParser.parseRepositories(XMLConfigurationParser.java:112)
	at com.atlassian.user.configuration.xml.XMLConfigurationParser.parse(XMLConfigurationParser.java:79)
	at com.atlassian.user.configuration.xml.XMLConfiguration.init(XMLConfiguration.java:91)

原因

Confluence Atlassian User component failed to parse the configuration set in <confluence install>/confluence/WEB-INF/classes/atlassian-user.xml. A wrong configuration used in the file can cause this. For example, you may have duplicate <atlassian-user> and <repositories> as a result of copy and paste:

<atlassian-user> 
    <repositories> 
          <atlassian-user> 
              <repositories> 
                  <crowd key="crowd" name="Crowd Repository"/> 
              </repositories> 
          </atlassian-user> 
    </repositories> 
</atlassian-user>

ソリューション

Make sure that your atlassian-user.xml only contains the following:

<atlassian-user>
    <repositories>
        <crowd key="crowd" name="Crowd Repository"/>
    </repositories>
</atlassian-user>

最終更新日 2016 年 3 月 30 日

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

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