解决方案之‘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>