Cannot start Bamboo due to invalid web.xml file
症状
The following error is thrown when Bamboo is started:
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)
原因
The web.xml
has been manipulated or copied over from an older version of Bamboo.
ソリューション
Use shipped web.xml
and merge changes from previous versions manually.
最終更新日 2013 年 6 月 24 日
Powered by Confluence and Scroll Viewport.