Spring Aop 执行两次原因(1)

原因(1):

                切面bean重复定义

           类中使用了@Component的同时又在springmvc.xml中配置了<bean id="log**" class="com.demo.log.**Aspect"></bean>

方法:

                 删除两个定义之一

              


       

猜你喜欢

转载自blog.csdn.net/u010299087/article/details/81456121