Confluence crashes on startup after adding Crowd integration jar file into the \lib folder

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the atlassian-confluence.log:

ERROR main atlassian.confluence.setup.ConfluenceConfigurationListener contextInitialized An error was encountered while bootstrapping Confluence (see below):
Error creating bean with name 'com.atlassian.confluence.setup.webwork.XWorkConfigurationInitialiser' defined in class path resource bootstrapContext.xml : Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/Aware
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.setup.webwork.XWorkConfigurationInitialiser' defined in class path resource bootstrapContext.xml : Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/Aware 
Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/Aware

Diagnosis

This issue only ever occurs when integrating instances of Confluence 3.3 or below with instances of Crowd 2.5 or above.

Cause

The applications are running on different major versions of the Spring Framework, Confluence 3.3 and below is running on v2.x and Crowd 2.5 and above are running on v3.x.

Resolution

Confluence 3.3 and below cannot be integrated with the client libraries from Crowd 2.5 and above. Upgrade the Confluence instance to 3.4 or above. If this is not possible, take the client libraries from Crowd 2.2.7 for compatibility with older Confluences; they can be used to talk to any later version of the Crowd server.

Last modified on Apr 11, 2016

Was this helpful?

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