Unable to enable Team Calendars for Confluence with the error "Configuration problem: Unable to locate Spring NamespaceHandler for XML schema"

Still need help?

The Atlassian Community is here for you.

Ask the community

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.

Problem

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. 

The following appears in the 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]

Cause

The plugin is trying to load a resource that has somehow been corrupted in the cache.

Resolution

Try to Clear the plugin cache, so that the plugins are forced to load these resources directly from the .jar files

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.