SpringBoot集成Swagger时启动报错:
pplication run failed
org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
这是因为SpringBoot版本过高,导致的BUG。
解决办法:
1、降低你的SpringBoot版本
2、在配置文件中加入:
spring.mvc.pathmatch.matching-strategy=ant_path_matcher