org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring/security.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/core/userdetails/memory/UserMap

Stack Overflow | R.Almoued | 7 months 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

    Spring error: java.lang.NoClassDefFoundError: org/springframework/security/core/userdetails/memory/UserMap

    Stack Overflow | 7 months ago | R.Almoued
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring/security.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/core/userdetails/memory/UserMap
  2. 0

    How to resolve nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/AntPathRequestMatcher

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring-security.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/security/web/util/AntPathRequestMatcher
  3. 0

    GitHub comment 430#277276266

    GitHub | 2 months ago | GiantEnemyCrab
    java.lang.ClassNotFoundException: de.tudarmstadt.ukp.clarin.webanno.webapp.home.security.LogoutPanel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    struts 2 errorR StatusLogger No log4j2 configuration file found. logging only errors to the console

    Stack Overflow | 8 months ago | Sathishkumar T
    java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObjectContainer
  6. 0

    GitHub comment 1#238173158

    GitHub | 8 months ago | masudk
    java.lang.NoClassDefFoundError: org/fcrepo/kernel/identifiers/IdentifierConverter
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. java.lang.ClassNotFoundException

    org.springframework.security.core.userdetails.memory.UserMap

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1891)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1734)
    2 frames
  3. spring-security-config
    SecurityNamespaceHandler.parse
    1. org.springframework.security.config.authentication.UserServiceBeanDefinitionParser.doParse(UserServiceBeanDefinitionParser.java:67)
    2. org.springframework.security.config.authentication.AbstractUserDetailsServiceBeanDefinitionParser.parse(AbstractUserDetailsServiceBeanDefinitionParser.java:30)
    3. org.springframework.security.config.SecurityNamespaceHandler.parse(SecurityNamespaceHandler.java:86)
    3 frames
  4. Spring Beans
    BeanDefinitionParserDelegate.parseCustomElement
    1. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335)
    1 frame
  5. spring-security-config
    SecurityNamespaceHandler.parse
    1. org.springframework.security.config.authentication.AuthenticationProviderBeanDefinitionParser.parse(AuthenticationProviderBeanDefinitionParser.java:59)
    2. org.springframework.security.config.SecurityNamespaceHandler.parse(SecurityNamespaceHandler.java:86)
    3. org.springframework.security.config.authentication.AuthenticationManagerBeanDefinitionParser.parse(AuthenticationManagerBeanDefinitionParser.java:62)
    4. org.springframework.security.config.SecurityNamespaceHandler.parse(SecurityNamespaceHandler.java:86)
    4 frames
  6. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335)
    2. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325)
    3. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
    4. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
    5. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
    6. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
    7. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
    8. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
    9. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    10. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    11. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    11 frames
  7. 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
  8. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
    2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
    3 frames
  9. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    3 frames
  10. Glassfish Core
    HostConfig.check
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5099)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5615)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    7. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:554)
    9. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1779)
    9 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  12. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
    1 frame
  13. Java RT
    JmxMBeanServer.invoke
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    2 frames
  14. org.apache.catalina
    ManagerServlet.doGet
    1. org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1506)
    2. org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:902)
    3. org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:361)
    3 frames
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    2 frames
  16. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  17. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  18. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
    4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    6. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    8. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
    9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    11. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
    12. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    13. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
    13 frames
  19. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    3 frames
  20. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  21. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  22. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame