Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

OsgiPlugin Unable to start the plugin container

Nat Tsai November 1, 2022

I migrated Bitbucket 5 to 7 and found some problems in the log file.

The second error "atlassian-clientside-extensions-runtime" will bring on the Bitbucket web console not working.

Any idea about this error message?

2022-10-27 15:36:24,353 ERROR [ThreadPoolAsyncTaskExecutor::Thread 1] c.a.plugin.osgi.factory.OsgiPlugin Unable to start the plugin container for plugin 'com.atlassian.plugins.atlassian-remote-event-common-plugin'
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundle://108.0:0/META-INF/spring/atlassian-plugins-host-components.xml]; nested exception is java.lang.IllegalStateException: Cannot execute atlassian-spring-scanner-runtime: plugin has an extra copy of atlassian-spring-scanner-annotation classes, perhaps embedded inside the target plugin 'com.atlassian.plugins.atlassian-remote-event-common-plugin'; embedding scanner-annotations is not supported since scanner version 2.0. Use 'mvn dependency:tree' and ensure the atlassian-spring-scanner-annotation dependency in your plugin has <scope>provided</scope>, not 'runtime' or 'compile', and you have NO dependency on atlassian-spring-scanner-runtime.

2022-10-27 15:36:25,661 ERROR [ThreadPoolAsyncTaskExecutor::Thread 3] c.a.plugin.osgi.factory.OsgiPlugin Unable to start the plugin container for plugin 'com.atlassian.plugins.atlassian-clientside-extensions-runtime'
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundle://103.0:0/META-INF/spring/plugin-context.xml]; nested exception is java.lang.IllegalStateException: Cannot execute atlassian-spring-scanner-runtime: plugin has an extra copy of atlassian-spring-scanner-annotation classes, perhaps embedded inside the target plugin 'com.atlassian.plugins.atlassian-clientside-extensions-runtime'; embedding scanner-annotations is not supported since scanner version 2.0. Use 'mvn dependency:tree' and ensure the atlassian-spring-scanner-annotation dependency in your plugin has <scope>provided</scope>, not 'runtime' or 'compile', and you have NO dependency on atlassian-spring-scanner-runtime.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events