結(jié)論:解決掉maven所有的重復(fù)依賴,就可以了
問題描述:程序在運行時報錯
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出來的包,運行不會出現(xiàn)這個問題)

結(jié)論:解決掉maven所有的重復(fù)依賴,就可以了
問題描述:程序在運行時報錯
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出來的包,運行不會出現(xiàn)這個問題)