2019-02-21 APPLICATION FAILED TO START

错误描述

***************************
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',找到后修正

你可能感兴趣的:(2019-02-21 APPLICATION FAILED TO START)