org.springframework.context.ApplicationContextException: 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
Caused by: java.lang.NullPointerException: Cannot invoke "org.springframework.web.servlet.mvc.condition.PatternsRequestCondition.getPatterns()" because "this.condition" is null
⭐ 해결
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
나는 Spring boot 2.6.14 버전 쓴다.
application.yml에 추가
👇참고
https://goyunji.tistory.com/137
반응형