Springboot集成Swagger报错:Error starting ApplicationContext. To display the conditions report re-run
Springboot集成Swagger报错:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug'.....原因:maven依赖冲突,导致空指针异常springboot版本太高了,导致swagger 异常,是springboot2.6.0版本以后引起的问题。解决办法:将pom.xml的spring的版本降低到2.6.0以下,我用的2.1.1的
原创
2022-10-19 12:59:18 ·
783 阅读 ·
0 评论