org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsB

springboot2.6.3版本

项目启动报错:
org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

解决方法:
在配置文件(application.yaml)的配置里,加上下面这个:

  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher

你可能感兴趣的:(bug记录,springboot)