Error
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
YoonJong
2022. 9. 11. 10:37
728x90
에러원인
Swagger 적용중에 해당 에러가 발생했다.
Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
에러내용
Spring boot 2.6버전 이후에 spring.mvc.pathmatch.matching-strategy 값이 ant_apth_matcher에서 path_pattern_parser로 변경되면서 몇몇 라이브러리에서 오류가 발생하고 있다고 한다.
에러조치
application.yml 파일에 해당 내용 추가
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
728x90