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