问题:

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

 

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2021-06-28
  • 2022-03-08
  • 2021-08-06
  • 2021-07-10
猜你喜欢
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2021-06-12
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案