ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [stash-context.xml]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'attachmentService' for bean class [com.atlassian.stash.internal.attach.DiskAttachmentService] conflicts with existing, non-compatible bean definition of same name and class [com.atlassian.stash.internal.attach.DefaultDiskAttachmentService]
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:614)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:515)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at java.lang.Thread.run(Thread.java:748)
... 13 frames trimmed
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'attachmentService' for bean class [com.atlassian.stash.internal.attach.DiskAttachmentService] conflicts with existing, non-compatible bean definition of same name and class [com.atlassian.stash.internal.attach.DefaultDiskAttachmentService]
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:345)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:283)
at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:87)
... 8 common frames omitted
This was caused by the Installation of bitbucket-backup-client-3.4.0 with bitbucket-5.16.0.
When unzipping the backup-Client libs into the volume of my working bitbucket Docker Container, backups work perfectly. But when restarting Bitbucket with all the new libraries the backup needs in this volume, Bitbucket wont start and gives the error message above...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.