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

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Symptoms

The following appears in the atlassian-confluence.log:

1 2 3 4 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.

Solution

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.

Updated on April 24, 2025

Still need help?

The Atlassian Community is here for you.