org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.zkoss.spring.config.ZkSpringSecurityNamespaceHandler] for namespace [http://www.zkoss.org/2008/zkspring/security]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/UrlMatcher

ZK-Tracker | polyvjk | 5 years ago
  1. 0

    UrlMatcher interface and its implementations are missing in org.springframework.security.web.util 3.1 package SEVERE: Exception sending context initialized event to listener instance of class org.springframework.security.web.util org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.zkoss.spring.config.ZkSpringSecurityNamespaceHandler] for namespace [http://www.zkoss.org/2008/zkspring/security]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/UrlMatcher at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactor

    ZK-Tracker | 5 years ago | polyvjk
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.zkoss.spring.config.ZkSpringSecurityNamespaceHandler] for namespace [http://www.zkoss.org/2008/zkspring/security]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/UrlMatcher
  2. 0

    UrlMatcher interface and its implementations are missing in org.springframework.security.web.util 3.1 package SEVERE: Exception sending context initialized event to listener instance of class org.springframework.security.web.util org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.zkoss.spring.config.ZkSpringSecurityNamespaceHandler] for namespace [http://www.zkoss.org/2008/zkspring/security]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/UrlMatcher at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactor

    ZK-Tracker | 5 years ago | polyvjk
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.zkoss.spring.config.ZkSpringSecurityNamespaceHandler] for namespace [http://www.zkoss.org/2008/zkspring/security]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/UrlMatcher
  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

    NullPointerException when deploying spring app

    Stack Overflow | 2 years ago | MarcosReyes
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.NullPointerException
  6. 0

    Spring Data JPA Invalid NamespaceHandler AuditingHandlerBeanDefinitionParser

    Stack Overflow | 2 years ago | turucrack
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/pfc-servlet.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler] for namespace [http://www.springframework.org/schema/data/jpa]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/auditing/config/AuditingHandlerBeanDefinitionParser

  1. andyglick 20 times, last 3 months ago
  2. Bugger 1 times, last 8 months 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/spring.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.zkoss.spring.config.ZkSpringSecurityNamespaceHandler] for namespace [http://www.zkoss.org/2008/zkspring/security]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/UrlMatcher

    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions()
  2. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
    3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
    4. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
    5. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
    6. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
    6 frames
  3. Spring
    XmlWebApplicationContext.loadBeanDefinitions
    1. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
    2. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
    2 frames