The prefix "context" for element "context:component-scan" is not bound.
就这一句话,什么毛病呢?缺包?还是写错单词儿!!!1
<?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:aop=" http://www.springframework.org/schema/aop"
xmlns:tx=" http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
<context:component-scan base-package="study">
<context:include-filter type="annotation"
expression="org.aspectj.annotation.Aspect" />
</context:component-scan>
<aop:aspectj-autoproxy />
</beans>
蓝色的地方提示的红色字体的错误,打了一个厚厚的红叉AOP编码
就这一句话,什么毛病呢?缺包?还是写错单词儿!!!1
<?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:aop=" http://www.springframework.org/schema/aop"
xmlns:tx=" http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
<context:component-scan base-package="study">
<context:include-filter type="annotation"
expression="org.aspectj.annotation.Aspect" />
</context:component-scan>
<aop:aspectj-autoproxy />
</beans>
蓝色的地方提示的红色字体的错误,打了一个厚厚的红叉AOP编码
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货