새로운 프로젝트를 시작하며 스웨거를 적용하고 있었다.
모두 이전에 썼던 내용과 프로퍼티가 거의 같기에 문제 없을 것이라 생각하고 테스트를 돌리던 중에,
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springdoc.core.configuration.SpringDocKotlinConfiguration': Failed to instantiate [org.springdoc.core.configuration.SpringDocKotlinConfiguration]: Constructor threw exception
위와 같은 에러가 떴다.
시간이 오래 지체되어 해결한 방법을 급하게 기록한다..!
yml 파일에 springdoc : enable-kotlin: false
를 추가해준다.
자동으로 코틀린을 감지하지 못하게 설정하는 것이다.
springdoc:
...
enable-kotlin: false
'에러 기록' 카테고리의 다른 글
엘라스틱 빈스톡 생성 오류 - Environment must have instance profile associated with it. (3) | 2024.10.17 |
---|---|
Too many connections + Cannot invoke "org.hibernate.engine.jdbc... (0) | 2024.09.19 |
새로 프로젝트를 배포할 때 주의할 점.. (0) | 2024.01.29 |
스웨거 Failed to load remote configuration (0) | 2024.01.10 |
Swagger 403 에러 (0) | 2024.01.03 |