Unable to enable Team Calendars for Confluence with the error "Configuration problem: Unable to locate Spring NamespaceHandler for XML schema"
Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.
問題
The plugin, Team Calendars for Confluence, is unable to be enabled from the Add-On Manager in Confluence Admin. This typically occurs after a plugin update.
atlassian-confluence.log:
に次の内容が記録される。
ERROR [ThreadPoolAsyncTaskExecutor::Thread 39] [extender.internal.activator.ContextLoaderListener] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.extra.team-calendars, config=osgibundle:/META-INF/spring/*.xml))
– referer: http://localhost:8090/confluence/plugins/servlet/upm | url: /rest/plugins/1.0/com.atlassian.confluence.extra.team-calendars-key | userName: admin
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace http://www.springframework.org/schema/context
Offending resource: URL [bundle://219.0:0/META-INF/spring/spring-components.xml]
原因
The plugin is trying to load a resource that has somehow been corrupted in the cache.
ソリューション
Try to Clear the plugin cache, so that the plugins are forced to load these resources directly from the .jar files