java - issue with spring bean configuration - Error processing XML Spring 4.0.2 -
i using spring 4.0.2 eclipse kepler , facing following error while configuring component scan in bean configuration.
please find spring configuration file well.
<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context" xsi:schemalocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd"> <mvc:annotation-driven></mvc:annotation-driven> <bean id="jspviewresolver" class="org.springframework.web.servlet.view.internalresourceviewresolver"> <property name="prefix" value="/web-inf/jsps/"></property> <property name="suffix" value=".jsp"></property> </bean> <mvc:resources location="/resources/" mapping="/static/**" /> <context:annotation-config></context:annotation-config> <context:component-scan base-package="com.ashish.spring.web.controller"> </context:component-scan> <bean id="messagesource" class="org.springframework.context.support.resourcebundlemessagesource"> <property name="basename" value="com.ashish.spring.web.message.messages"> </property> </bean> </beans>
Comments
Post a Comment