[SpringBoot] Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
-SpringBoot+스프링 시큐리티 구성에 Swagger를 추가 설정한뒤 서버구동시 에러 발생 [에러 로그] org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstr..
ldne.tistory.com
Spring boot Swagger 설정 (gradle) 🐏 (velog.io)
Spring boot Swagger 설정 (gradle) 🐏
❗ 스프링 부트 swagger를 설정해보자 gradle 디펜던시 참고 에 들어가서 원하는 버전으로 선택해서 들어간다.가장 많이 사용한듯 한 2.9.2를 골랐다.추가로 위에 의존성을 복사해 swagger2도 임포트 해
velog.io
갑자기 에러나서 멘붕으로 구글 검색질을 겁나 했지만, 답이 없는 상황에서 버젼충돌로 보인다는 결론
결론적으로 위에 블로그 처럼 Spring boot 버젼을 낮추는 방법으로 해결되었고 기록으로 남김
plugins {
id 'org.springframework.boot' version '2.4.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
PHP로 재미삼아 RestAPI / Token / Swagger 연동해봤지만 java는 그냥 장난같이 다 되어버리는구나.
라이브러리 연결하는게 이슈
요즘 개발은 개발인지 라이브러리 조합인지. 그래도 레고 블럭 만들 듯 재밌는 듯.
어제 MyBatis까지 연결했으니 기본적으로 할건 다 한 것 같음.
역시 개발은 취미로 하는게 제일 건강에 좋음
'Spring Boot' 카테고리의 다른 글
Spring Boot 무료 강좌 (0) | 2022.02.26 |
---|---|
Spring Boot MS-SQL Server 연결 오류 (0) | 2022.02.26 |