shunzikk 2011-04-27 16:14
浏览 802
已采纳

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

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

  • 写回答

8条回答 默认 最新

  • ABDCLEE 2011-04-28 15:39
    关注

    Problems 窗口 也没有一点错误描述..?.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(7条)

报告相同问题?