首页 > 编程语言> > Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.Nul
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.Nul
作者:互联网
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
解决方法:
1. 2.9.2版本的Swagger需要添加一个google的guava依赖
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>30.1-jre</version>
</dependency>
2.把2.6.3版本更换为一个稳定的版本2.5.6。
fmmall的pom.xml:
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.6</version> <relativePath/> <!-- lookup parent from repository --> </parent>
更换稳定版本2.5.6后运行成功!
参考资料:https://blog.csdn.net/weixin_52914457/article/details/123017473
标签:lang,exception,google,java,nested,Failed,版本,guava,2.5 来源: https://www.cnblogs.com/lysboke/p/16212066.html