Nov 19, 2012

How To Resolve Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace ??


Very often, when we start up an application in spring, we confront the following problem

"Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace". If you face this sisue, it is very likely that you might have forgotten to include the pertaining jar into the pom.xml. Suppose if you get

Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace
[http://www.springframework.org/schema/tx]

you might have forgotten to include the spring-tx dependency in pom. similarly if you get,

Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace
[http://www.springframework.org/schema/ehcache]

then you might have forgotten to include the ehcache dependency in the pom!

All the best!

No comments:

Post a Comment