解决方案之‘Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullPoi
这里使用的Swagger版本是2.9.2、springboot 版本是2.6.4
发现是springboot版本太高,缺少swagger运行所需要的环境,所以只能回退到之前的版本
把springboot回退到2.5.6就能正常启动
如下 退回到 2.1.0
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.0.RELEASE</version>
<relativePath/>
</parent>
本文介绍了在使用Swagger时遇到的'Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException'错误,原因是SpringBoot版本过高。解决方案是将SpringBoot版本回退到2.1.0,这样可以确保Swagger正常运行。
1114

被折叠的 条评论
为什么被折叠?



