Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.directwebremoting.org/schema/spring-dwr] -


technology used

  1. java 8
  2. maven 3.5.0

getting exception when try run maven project using eclipse on tomcat 6.0 :-

org.springframework.beans.factory.parsing.beandefinitionparsingexception: configuration problem: unable locate spring namespacehandler xml schema namespace [http://www.directwebremoting.org/schema/spring-dwr] offending resource: servletcontext resource [/web-inf/applicationcontext.xml] 

applicationcontext.xml includes

<beans xmlns="http://www.springframework.org/schema/beans"     xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"      xmlns:jee="http://www.springframework.org/schema/jee"     xmlns:aop="http://www.springframework.org/schema/aop"     xmlns:tx="http://www.springframework.org/schema/tx"      xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"     xsi:schemalocation="     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd     http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.1.xsd     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.1.xsd     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.1.xsd     http://www.directwebremoting.org/schema/spring-dwr     http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd"> 

pom.xml contains dependency dwr

<dependency>     <groupid>org.directwebremoting</groupid>     <artifactid>dwr</artifactid>     <version>3.0.2-release</version>     <scope>compile</scope> </dependency> 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -