使用springBoot启动报错,原因:
同时使用@AllArgsConstructor和@Autowired注解导致
如:
去掉@AllArgsConstructor即可
具体@AllArgsConstructor和@Autowired同时使用为什么会导致这个问题?希望有大神能帮忙解答,谢谢大神!
报错:The dependencies of some of the beans in the application context form a cycle
最新推荐文章于 2024-05-15 11:47:45 发布