반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- codedeploy error
- bootstrap
- codebuild
- VPN
- Kafka
- docker
- AWS CI/CD 구축하기
- aws
- openlens
- JavaScript
- Spring
- chartjs
- codedeploy
- PostgreSQL
- Flux
- IntelliJ
- kubeflow
- Jenkins
- chart.js
- SQL
- redis
- aws cicd
- Airflow
- Spring Error
- codepipeline
- COALESCE
- java bigdecimal
- Python
- 도커
- node
Archives
- Today
- Total
목록NoClassDefFoundError (1)
Small Asteroid Blog
[spring error] Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError
NoClassDefFoundError 에러는 컴파일 시점에 존재했던 클래스가 런타임에 존재하지 않으면 발생하는 에러이다. 즉 JVM 이 내부의 클래스 데이터 구조에서 class를 찾지 못했다는 것을 말한다. 나의 경우 의존하는 라이브러리의 버전이 서로 맞지 않아 발생한 오류로 build.gradle 에 아래 코드를 추가해 주었더니 해결되었다. implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2' 나와 같은 방법으로 해결되지 않았다면 라이브러리 버전을 확인하거나 아래 내용을 참고해봐도 좋을 것 같다. 참고 https://stackoverflow.com/questions/34413/why-am-i-gett..
백엔드/Spring
2022. 3. 8. 15:31