org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webDavServlet' defined in URL [bundle://102.0:0/META-INF/spring/atlassian-plugins-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/confluence/xml/SafeXmlParserFactory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

,

If JVM throws ClassNotFoundException the class is not found in classpath. It means that something isn't configured correctly. So check whether the class is in the classpath. If this class is packaged to a jar file. Then the jar must also be in the lib path

Solutions on the web

via atlassian.com by Unknown author, 1 year ago
Error creating bean with name 'webDavServlet' defined in URL [bundle://102.0:0/META-INF/spring/atlassian-plugins-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not
via Ecosystem JIRA by Foo Sim, 1 year ago
Error creating bean with name 'webDavServlet' defined in URL [bundle://102.0:0/META-INF/spring/atlassian-plugins-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not
via Atlassian JIRA by Andy Brook [another me], 1 year ago
Error creating bean with name 'thirdPartyPluginLicenseStorageManager' defined in URL [bundle://60.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is
via Atlassian JIRA by Andy Brook [another me], 1 year ago
Error creating bean with name 'thirdPartyPluginLicenseStorageManager' defined in URL [bundle://60.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is
via JIRA by Axel Pavageau, 11 months ago
Error creating bean with name 'scriptManager' defined in URL [bundle://122.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not
via JIRA by Axel Pavageau, 1 year ago
Error creating bean with name 'scriptManager' defined in URL [bundle://122.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webDavServlet' defined in URL [bundle://102.0:0/META-INF/spring/atlassian-plugins-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/confluence/xml/SafeXmlParserFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672)
at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)
at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345)
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:711)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet.(ConfluenceWebdavServlet.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Once, 1 week ago
2 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
473 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.