Spring

[Spring] Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException" (Swagger설정 시 오류 )

pa_songsong 2022. 4. 29. 10:28

스프링에서 Swagger를 사용하려 할 때 다음과 같은 에러가 난다면 Swagger설정에서 오류가 난 것입니다.

Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException"

 

초반 스프링 프로젝트를 만들때 안정된 2.5.X버전으로 만들어 주면 괜찮으나 만약 바꾸기 어려울 시 

application.properties에 아래 코드를 추가해주면 됩니다.

spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

 

'Spring' 카테고리의 다른 글

[Spring] M1 맥북에서 Spring3의 java legacy project  (0) 2022.03.16