Failed to import bean definition [ BeanDefinitionParsingException] Unable to support XML schema namespace in JBoss EAP 7.0 .

Solution Verified - Updated -

Issue

  • XML schema namespace doesn't support in JBoss EAP 7.0.
  • Unable to load Spring configuration file applicationContext.xml in JBoss EAP 7.0.
Failed to import bean definitions from URL location [classpath:/applicationContext.xml] Offending resource: ServletContext resource [/WEB-INF/spring-security.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context] Offending resource: class path resource [applicationContext.xml]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.