原文:Spring AOP基於注解的“零配置”方式---org.springframework.beans.factory.BeanNotOfRequiredTypeException

具體異常信息如下: 我在網上搜了一大堆解決方法都不管用,后來發現只要在spring的配置文件bean.xml中的 lt aop:aspectj autoproxy gt 加上一個屬性proxy target class true ,即為: lt aop:aspectj autoproxy proxy target class true gt 網上查了一下proxy target class tru ...

2016-09-17 10:11 0 5493 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM