Cannot start Bamboo due to invalid web.xml file
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
Symptoms
The following error is thrown when Bamboo is started:
1
2
3
4
5
6
7
8
9
2008-11-13 14:50:57,423 ERROR [main] [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalSubstitutionBean' defined in class path resource [applicationContext.xml]:
Cannot resolve reference to bean 'buildExecutionManager' while setting bean property 'buildExecutionManager'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'buildExecutionManager' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'buildManager' while setting bean property 'buildManager'; .....
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.bamboo.repository.DefaultRepositoryManager#b07108e' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'textProvider' while setting bean property 'textProvider'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'textProvider' is defined
Caused by:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'textProvider' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:360)
Cause
The web.xml
has been manipulated or copied over from an older version of Bamboo.
Resolution
Use shipped web.xml
and merge changes from previous versions manually.
Was this helpful?