***************************
APPLICATION FAILED TO START
***************************
Description:
The bean 'orderRelationIpDocumentMapper' could not be injected as a 'com.cqts.manage.dao.dm.ext.xx' because it is a JDK dynamic proxy that implements:
com.cqts.manage.dao.dm.xxx
Action:
Consider injecting the bean as one of its interfaces or forcing the use of CGLib-based proxies by setting proxyTargetClass=true on @EnableAsync and/or @EnableCaching.
导致原因:多半是使用@Resource注解导致的问题,因为@Autowired默认按类型装配,而 @Resource优先按名称装配,如果使用
@Resource private XabYcdService ycdSerivce;
恰巧有另外一个bean叫“ycdSerivce” 也可能出现这个错误。
http://blog.xqlee.com/article/819.html