<?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 文件前面提示红色的圈 (文件里没有提示错误)但运行项目没问题
如果去掉 </aop:config> 文件前就没有红色X号了
仁兄们 谁能告诉我啥原因呢??
- 大小: 5 KB
分享到:
相关推荐
applicationContext.xml 详细配置
Spring applicationContext.xml常见部分属性的使用备注
struts.xml和applicationContext.xml、web.xml的配置
applicationContext.xml详解
这是一些配置文件,可以作为参考,个人感觉很方便的学习方法
包含applicationContext.xml、db.properties、log4j.properties、spring-mvc.xml文件,方便搭建,省去写代码。。
详解Spring的applicationContext.xml文件代码:
SSH框架applicationContext.xml头部文件
在SSH的applicationContext.xml 中如何配制配制事务
spring4的“所有jar包”+applicationContext.xml+web.xml====全套
Spring Boot技术知识点:如何读取不同路径里的applicationContext.xml配置文件4
spring定时任务必须的包和spring配置说明
本篇文章主要介绍了详解spring applicationContext.xml 配置文件 ,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧