org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [WEB-INF/dataaccess-context.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/namespace/QName. org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [WEB-INF/dataaccess-context.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/namespace/QName

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

Solutions on the web

via Oracle Community by 880385, 1 year ago
Unexpected exception parsing XML document from ServletContext resource [WEB-INF/dataaccess-context.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/namespace/QName. org.springframework.beans.factory.BeanDefinitionStoreException
via saebbs.com by Unknown author, 2 years ago
Unexpected exception parsing XML document from class path resource [beans.xml]; nested exception is javax.xml.parsers.FactoryConfigurationError: Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found
via spring.io by Unknown author, 1 year ago
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
via wordpress.com by Unknown author, 1 year ago
Unexpected exception parsing XML document from class path resource [cloverjazz-web-context.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.getLocalName(Lorg/w3c/dom/Node;)Ljava/lang/String;
via Stack Overflow by Gaspar
, 9 months ago
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/dispatcher-servlet.xml]; nested exception is java.lang.NoSuchMethodError: add. org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception
via spring.io by Unknown author, 1 year ago
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring-security-context.xml]; nested exception is org.springframework.beans.FatalBeanException: NamespaceHandler class
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [WEB-INF/dataaccess-context.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/namespace/QName. org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [WEB-INF/dataaccess-context.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/namespace/QName
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
33 more bugmates

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