springfox-swagger2 3.0.0
配置swagger之后启动项目出现出错。
Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
截图
原因分析:
版本冲突导致
解决方案:
配置文件中添加spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER

版本冲突导致
配置文件中添加spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER