org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema with Spring Security 3.2. Please update your schema declarations to the 3.2 schema. Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]

Stack Overflow | Jhonatan Souza | 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

    Context initialization failed java.lang.IllegalArgumentException

    Stack Overflow | 7 months ago | Jhonatan Souza
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema with Spring Security 3.2. Please update your schema declarations to the 3.2 schema. Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]
  2. 0

    Problema na configuraĆ§Ć£o do Spring Security - Front-end - GUJ

    com.br | 1 year ago
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: spring-security-web classes are not available. You need these to use <filter-chain-map> Offending resource: ServletContext resource [/WEB-INF/spring-security.xml]
  3. 0

    Deployment issue with spring-security-rest-digest-auth project

    GitHub | 2 years ago | JavaHelper
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema or spring-security-3.2.xsd schema with Spring Security 4.0. Please update your schema declarations to the 4.0 schema. Offending resource: class path resource [webSecurityConfig.xml]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem:

    GitHub | 1 year ago | JavaHelper
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema with Spring Security 3.2. Please update your schema declarations to the 3.2 schema. Offending resource: class path resource [webSecurityConfig.xml]
  6. 0

    org.springframework.beans.factory.parsing.BeanDefinitionParsingException:

    Stack Overflow | 3 years ago | javaHelper
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd schema with Spring Security 3.1. Please update your schema declarations to the 3.1 schema. Offending resource: ServletContext resource [/WEB-INF/spring-security.xml]

    1 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.parsing.BeanDefinitionParsingException

      Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema with Spring Security 3.2. Please update your schema declarations to the 3.2 schema. Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]

      at org.springframework.beans.factory.parsing.FailFastProblemReporter.fatal()
    2. Spring Beans
      ReaderContext.fatal
      1. org.springframework.beans.factory.parsing.FailFastProblemReporter.fatal(FailFastProblemReporter.java:60)
      2. org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:68)
      3. org.springframework.beans.factory.parsing.ReaderContext.fatal(ReaderContext.java:55)
      3 frames
    3. spring-security-config
      SecurityNamespaceHandler.parse
      1. org.springframework.security.config.SecurityNamespaceHandler.parse(SecurityNamespaceHandler.java:87)
      1 frame
    4. Spring Beans
      AbstractBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1427)
      2. org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1417)
      3. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:174)
      4. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:144)
      5. org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:100)
      6. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:510)
      7. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)
      8. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
      9. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
      10. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
      11. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)
      12. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
      12 frames
    5. 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
    6. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractRefreshableApplicationContext.__refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
      2. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java)
      3. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
      4. org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:452)
      5. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)
      5 frames
    7. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
      3 frames
    8. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4811)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
      5 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4. java.lang.Thread.run(Unknown Source)
      4 frames