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
- SpringBoot
- application.properties
- spring
- after-throwing
- .xml
- PointCut
- @RequestParam
- springmvc
- AOP
- frontController
- Model
- jointpoint
- springjdbc
- c:if
- 비즈니스레이어
- 바인딩변수
- produces
- MVC
- 유효성검사
- @
- 생성자주입
- Java
- @Valid
- 서비스레이어
- 스프링
- @ResponseBody
- gradle
- 어노테이션
- @RequestMapping
- 의존주입
Archives
- Today
- Total
메모장
에러 : EmptyResultDataAccessException 본문
728x90
반응형
Spring JDBC를 이용해서 데이터를 불러 올 때, 일어나는 오류
✔ EmptyResultDataAccessException
Spring JDBC를 이용할 때,
repository의 메서드를 호출하여 DB의 데이터를 불러 올 때,
일치하는 데이터가 실제로 없을 때 일어나는 오류.
예상되는 데이터는 1개이지만 실제로는 데이터 0개가 나올 때 발생하는 오류

728x90
반응형
'Error' 카테고리의 다른 글
| 에러 : Spring Security security config 에러 (0) | 2024.05.03 |
|---|---|
| 에러 : lombok 설치 시 STS 실행 오류 (0) | 2024.05.03 |
| 에러 : Spring error - Failed to configure a DataSource (0) | 2024.05.03 |
| JAVA 환경 변수 설정 - 'javac'은(는) 내부 또는 외부 명령 실행할 수 있는 프로그램 또는 배치 파일이 아닙니다 (0) | 2024.05.03 |
| pom.xml 에서 source 와 javadoc 이슈 (0) | 2024.05.01 |