because it is a JDK dynamic proxy that implements:

 

 

Description:

The bean 'elsJobRefreshTime' could not be injected as a 'com.btzh.mis.sgms.mdhj.job.Els.ElsJobRefreshTime' because it is a JDK dynamic proxy that implements:
    com.dangdang.ddframe.job.api.simple.SimpleJob

 

https://blog.csdn.net/w605283073/article/details/90454057

 

如果是springboot项目,在配置里设置

spring.aop.proxy-target-class=true

你可能感兴趣的:(java)