Unable to locate Spring NamespaceHandler -


i creteing maven project , got error im amntn below

unable locate spring namespacehandler

org.springframework.web.context.contextloader initwebapplicationcontext: context initialization failed         org.springframework.beans.factory.parsing.beandefinitionparsingexception: configuration problem: unable locate spring namespacehandler xml schema namespace [http://www.springframework.org/schema/security]         offending resource: servletcontext resource [/web-inf/applicationcontext.xml] 

you need add spring-security-config dependency pom.xml, can find below. , can refer 4.2.3.release need use version match other spring version, can find form below link:

https://mvnrepository.com/artifact/org.springframework.security/spring-security-config

<dependency>     <groupid>org.springframework.security</groupid>     <artifactid>spring-security-config</artifactid>     <version>3.0.1.release</version> </dependency> 

Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -