The bean ‘xxxImpl‘ could not be injected as a ‘xxx‘because it is a JDK dynamic proxy that implements
当启动项目时出现以下通用情况The bean ‘xxxImpl’ could not be injected as a 'xxx’because it is a JDK dynamic proxy that implements错误定位解决理由:一般都会使用接口进行注入,如果存在多个实现类的话可以指定注入名称。动态代理的模式是根据接口注入,需要类实现接口,spring在处理这些注解的时候肯定是通过aop这些东西,处理这些注解,aop的一种实现原理也是通过jdk的动态代理的方式,由于注入使