遇到个问题:
spring 2.5 aop做切面的时候 在 junit 下测试没问题, 到web 下面 相同的方法就切不上了... 有人知道是什么原因么?
配置如下:
<bean id="logInterceptor" class="lzn.aoptest.LogInterceptor"></bean>
<aop:config>
<aop:pointcut id="aoptest"
expression="execution(public * cn.ehoo.mre.base.service.impl.*.*(..))" />
<aop:advisor pointcut-ref="aoptest" advice-ref="logInterceptor" />
</aop:config>