Hi,
I am also facing a similar problem.
My applicationContext.xml :
My POM.xml
Please help. I am stuck with this problem from past few days.
I have searched a lot but of no use. I even tried using spring xsd version 3.
Thanks.
Satish Jhaldiyal wrote:
Christophe Verré wrote:Did you correctly declare the namespace ?
hi Chris,
Thanks for your reply. yes i have 'em in my xml file. Following is my beans and error message i am getting...
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.1.xsd">
<context:component-scan
base-package="com.pan.eim.dataaccess.hibernate"/>
and message i am getting is
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Confi
uration problem: Unable to locate NamespaceHandler for namespace [http://www.sp
ingframework.org/schema/context]
Offending resource: ServletContext resource [/WEB-INF/classes/spring-beans.xml]
at org.springframework.beans.factory.parsing.FailFastProblemReporter.er
or(FailFastProblemReporter.java:59)
thanks,
satish