【解决方案】Failed to start bean ‘documentationPluginsBootstrapper‘;
今天在学习 Spring Boot 整合 knife4j 时,运行环境总是会报Failed to start bean ‘documentationPluginsBootstrapper‘;异常。
原因:
Spring Boot 2.6.7 版本不兼容 knife4j 3.0.3 版本。
解决方法:
Spring Boot 版本降级,回到 2.5.6 即可。
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.6</version>
<relativePath/>
</parent>

浙公网安备 33010602011771号