摘要: 今天启动项目突然发现:项目报错because it is a JDK dynamic proxy that implement 因为添加了一个定时任务的接口 各种定时任务都实现这个接口 然后使用接口来接代理的实现类 然后就报错了,查找半天,得知,Spring推荐奖该注解标记在类(方法)而不是接口,将 阅读全文
posted @ 2020-11-04 15:26 光何 阅读(1537) 评论(0) 推荐(0)
摘要: 今天启动项目时报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'colorController': Unsatisfied dependency ex 阅读全文
posted @ 2020-11-04 15:05 光何 阅读(13085) 评论(0) 推荐(1)