0
点赞
收藏
分享

微信扫一扫

springBoot引入knife4j jar包项目启动报错

一脸伟人痣 2022-04-01 阅读 57
java

springBoot引入knife4j jar包后项目启动报错:

Failed to start bean 'documentationPluginsBootstrapper'

Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

报错信息

报错信息

这种一般都是springboot版本过高导致
 

可以更换版本到2.4项目就可以启动了

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.4.5</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

举报

相关推荐

0 条评论