이슈발생
Swagger 설정 강의를 듣다가 에러가 발생하여 정리한다.
Spring Boot 2.7.8 버전과 Swagger 2.9.2 버전 사용하였고 다음과 같은 에러가 발생하였다.

Failed to start bean 'documentationPluginsBootstrapper';
nested exception is java.lang.NullPointerException
해당 에러는 Spring Boot 2.6 버전 이후에 발생된다.
spring.mvc.pathmatch.matching-strategy의 default 값이 ant_path_matcher -> path_pattern_parser로 변경되어 특정 라이브러리에서 발생이 된다.
해결방법
application.properties에 아래의 내용을 추가해 주면 에러를 해결할 수 있다.
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
'Trouble Shooting' 카테고리의 다른 글
[Java] Scanner 입력 예외처리 시 무한로프 - 입력 버퍼를 비워라 (0) | 2024.01.04 |
---|---|
[WSL/Ubuntu] 도커 세팅위한 Ubuntu 배포버전을 설치하다 발생한 이슈(0x80370102) + LG 노트북 (0) | 2023.11.16 |
[Git/Github] Github 저장소에 Readme만 있을 때 내 프로젝트를 Push하면 발생하는 오류 (error: failed to push some refs to) (0) | 2023.10.26 |
[넘블/Spring] RDBMS를 활용한 다중 트래픽 처리 해결 과정 (0) | 2023.10.24 |
[Maven] spring-boot-maven-plugin not found 해결 방법 (0) | 2023.10.06 |
이슈발생
Swagger 설정 강의를 듣다가 에러가 발생하여 정리한다.
Spring Boot 2.7.8 버전과 Swagger 2.9.2 버전 사용하였고 다음과 같은 에러가 발생하였다.

Failed to start bean 'documentationPluginsBootstrapper';
nested exception is java.lang.NullPointerException
해당 에러는 Spring Boot 2.6 버전 이후에 발생된다.
spring.mvc.pathmatch.matching-strategy의 default 값이 ant_path_matcher -> path_pattern_parser로 변경되어 특정 라이브러리에서 발생이 된다.
해결방법
application.properties에 아래의 내용을 추가해 주면 에러를 해결할 수 있다.
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
'Trouble Shooting' 카테고리의 다른 글
[Java] Scanner 입력 예외처리 시 무한로프 - 입력 버퍼를 비워라 (0) | 2024.01.04 |
---|---|
[WSL/Ubuntu] 도커 세팅위한 Ubuntu 배포버전을 설치하다 발생한 이슈(0x80370102) + LG 노트북 (0) | 2023.11.16 |
[Git/Github] Github 저장소에 Readme만 있을 때 내 프로젝트를 Push하면 발생하는 오류 (error: failed to push some refs to) (0) | 2023.10.26 |
[넘블/Spring] RDBMS를 활용한 다중 트래픽 처리 해결 과정 (0) | 2023.10.24 |
[Maven] spring-boot-maven-plugin not found 해결 방법 (0) | 2023.10.06 |