deployment Jboss: Configuration problem: Unable to locate Spring NamespaceHandler for XML sch

Latest response

Hi All,

I'm trying to deploy a maven based spring web application in Jboss server but endlessly getting Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context]. I read through to resolve this issue, what I learned is the compatability between server version and Spring context version is something to be fixed. But stalling how to find the root cause which version shoots for the server version. Currently using Red Hat JBoss EAP 7.1. Let me know if any information required here. Please help to fix this deployment issue. Thanks.

Project related servlet file have below entries related to spring context.

[code=java]

<context:component-scan base-package="com.imo.phub.webapp.controller" />

<context:annotation-config/>

<mvc:annotation-driven/>

<mvc:resources mapping="/resources/**" location="/resources/" />

<bean
    class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="prefix">
        <value>/WEB-INF/views/</value>
    </property>
    <property name="suffix">
        <value>.jsp</value>
    </property>
</bean>

[/code]

Responses