applicationContext.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:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
				http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd  
          		http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd"
          		>

	<aop:config>
		<aop:aspect ref="userAspect">
			<aop:pointcut id="daoOperation"
				expression="execution(* com.ascent.service.impl.*.*(..))" />
			<aop:before method="logging" pointcut-ref="daoOperation" />
		</aop:aspect>
	</aop:config>
</beans>

 applicationContext.xml 文件前面提示红色的圈 (文件里没有提示错误)但运行项目没问题

 content

如果去掉   </aop:config>  文件前就没有红色X号了

仁兄们 谁能告诉我啥原因呢??

猜你喜欢

转载自guozhishun.iteye.com/blog/1020180
今日推荐