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

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via ZK-Tracker by polyvjk, 1 year ago
] 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
via ZK-Tracker by polyvjk, 1 year ago
] 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
via myexception.cn 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 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 Stack Overflow by ShrutikaDhoka
, 1 year ago
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/service-gateway-client-services.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class
via atlassian.com by Unknown author, 1 year ago
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.IllegalStateException: Annotation-specified bean name 'hostComponentProvider' for bean class
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.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
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, 1 year ago

Write tip

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