SpringMVC AOP無效不起作用解決方法

【場景描述】 爲接口添加監控,配置<aop:aspectj-autoproxy expose-proxy="true">後代理不生效 【原因分析】 其中加載spring主配置文件的是applicationContext,加載springmvc的是webApplicationContext。 如果我們要切入Controller,需要在webmvc的配置文件裏添加<aop:aspectj-autopr
相關文章
相關標籤/搜索