结论:解决掉maven所有的重复依赖,就可以了
问题描述:程序在运行时报错
The dependencies of some of the beans in the application context form a cycle:
条件:
1. springboot 2.1.6.RELEASE
2. 引入swagger2
3. 引入shiro
4. jekins打包(pc上mvn install出来的包,运行不会出现这个问题)
结论:解决掉maven所有的重复依赖,就可以了
问题描述:程序在运行时报错
The dependencies of some of the beans in the application context form a cycle:
条件:
1. springboot 2.1.6.RELEASE
2. 引入swagger2
3. 引入shiro
4. jekins打包(pc上mvn install出来的包,运行不会出现这个问题)