aop拦截controller正常 ,可是拦截工具包中的类方法不起作用,为工具包加上实例注解也无法获得该类对象,求大神
------解决思路----------------------
你工具包的包名Spring的扫描器配置了没?
------解决思路----------------------
不过话说回来你为什么要拦截工具包?
------解决思路----------------------
楼主你的平时ring扫描包么有
<context:component-scan base-package="cn.edac.service" />
<context:component-scan base-package="cn.edac.dao" />
<context:component-scan base-package="cn.edac.utils" />