Spring

java.lang.NoClassDefFoundError: org/springframework/http/HttpHeaders 해결 방법

dependency에 starter-web을 추가해주면 된다.

implementation 'org.springframework.boot:spring-boot-starter-web'

 

참고 자료

https://stackoverflow.com/questions/62693959/spring-boot-2-3-1-elasticsearch-7-6-2