错误描述
***************************
APPLICATION FAILED TO START
***************************
Description:
The bean 'equipmentServiceImpl' could not be injected as a 'com.zxrj.regionalmedical.equ.service.impl.EquipmentServiceImpl' because it is a JDK dynamic proxy that implements:
com.zxrj.regionalmedical.equ.service.EquipmentService
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.
解决:
写代码时手滑,引用service时错引为serviceImpl,全局搜索 'equipmentServiceImpl',找到后修正