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>