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

Oracle Community | 880385 | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Trouble starting OIA with weblogic

    Oracle Community | 6 years ago | 880385
    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
  2. 0

    SpringFramework v.3.2.1 Annotation Error

    Oracle Community | 4 years ago | User12580632-Oracle
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [****-INF****-context.xml]; nested exception is java.lang.NoSuchMethodError: org****(Ljava****;Ljava****;)Lorg****;
  3. 0

    NoSuchMethodError while deploying Spring based ear file

    Stack Overflow | 2 years ago | Praveen
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/beans.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.data.repository.config.RepositoryConfigurationSource.getAttribute(Ljava/lang/String;)Ljava/lang/String;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Network connection failed in Red 5 server (Java API forum at JavaRanch)

    coderanch.com | 1 year ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Could not resolve bean definition resource pattern [/WEB-INF/red5-*.xml]; nested exception is : ServletContext resource [/WEB-INF/] cannot be resolved to URL because it does not exist
  6. 0

    Class [ContextNamespaceHandler] for namespace [...schema/context] does not implement the [....xml.NamespaceHandler] interface

    Stack Overflow | 4 years ago | gstackoverflow
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface

  1. chenjunjun 3 times, last 6 months ago
  2. andyglick 20 times, last 8 months ago
  3. Bugger 1 times, last 1 year ago
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
    3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    4. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    5. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    6. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    6 frames
  3. Spring
    XmlWebApplicationContext.loadBeanDefinitions
    1. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    2. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
    2 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
    3 frames