问题:
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException: Cannot invoke "org.springframework.web.servlet.mvc.condition.PatternsRequestCondition.getPatterns()" because "this.condition" is null
解决方法:
在spring的配置文件中添加下面的内容。
application.properties配置文件中加
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
application.yal配置文件中加
spring:
mvc:
pathmatch.matching-strategy:ant_path_matcher