Swagger2 Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException报错
报错信息:
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
我是springboot版本 2.6.5
主要是版本更新的问题,再配置类中加上
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
即可解决