[size=x-large][color=darkred]1.application.xml头信息[/color][/size]
[size=x-large][color=darkred]2.配置eclipse提示[/color][/size]
[img]http://dl2.iteye.com/upload/attachment/0110/8618/ebe2c5dc-8f83-325e-b4f1-28e42bb681a2.png[/img]
重新打开xml,应该可以了
<?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:context="http://www.springframework.org/schema/context"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="
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.xsd">
<context:component-scan base-package="com.sxh.spring.annotaion"/>
</bean>
[size=x-large][color=darkred]2.配置eclipse提示[/color][/size]
[img]http://dl2.iteye.com/upload/attachment/0110/8618/ebe2c5dc-8f83-325e-b4f1-28e42bb681a2.png[/img]
重新打开xml,应该可以了