`
guozhishun
  • 浏览: 3801 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

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号了

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

  • 大小: 5 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics