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
- react #props #state
- javascript #자바스크립트 #공백제거함수
- git #삭제
- SQL
- JSP #Java #JQuery
- JPA #Springboot #java
- 데이터집계
- react #event
- regexp_substr함수
- oracle #
- react #리액트 #JSX
- decode함수
- react #ref
- yarn #오류
- springboot #에러
- db #with절 #오라클 #oracle #쿼리 #query
- MariaDB #Error
- db #mysql #mariadb
- DTO #VO
- kotlin #코틀린 #SpringDataJPA단점
- flutter #flutter개념 #특징 #장단점
- python #json
- PostgreSQL
- react #mini_project #study
- 인프런 #assertThat #오류
- 인텔리제이 #intelliJ #패키지생성 #package
- blockscope
- Django #Static
- django #db #오류
- Django #장고 #에러해결방법 #templatetags
Archives
- Today
- Total
감자의 개발공부 일지
[Springboot] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.~.~.dao.~DAO.~] w.. 본문
JAVA/Spring / Springboot
[Springboot] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.~.~.dao.~DAO.~] w..
Elie_J 2023. 1. 6. 13:24반응형
Spirngboot 실습 도중
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.~.~.dao.~DAO.~] with root cause
다음과 같은 오류가 발생하였다.😢
진짜 오랫동안 삽질했는데
별거 아닌 이유였다
꼭 ~.xml 파일의 mapper id를 체크해봐야한다!🤦♂️
~.xml 파일의 <select id='~~'></select> 부분에서
'~~'이 부분이 ~~DAO.java파일에서 값이 같아야 한다 만약 다르다면 위에와 같이 에러가 발생한다!
그럼 에러해결! 야호~😁
반응형
'JAVA > Spring / Springboot' 카테고리의 다른 글
[Springboot] IntelliJ(인텔리제이)에서 Package가 없는 경우 해결 방법 (0) | 2024.03.04 |
---|---|
[ Spring/SpringBoot] DAO, DTO, VO 개념 알고 가기 (0) | 2022.11.14 |
[Spring/SpringBoot] 기본 파악하기2 (ORM, JPA, JDBC, Mybatis) (0) | 2022.11.03 |
[Spring/SpringBoot] 기본 파악하기1 (0) | 2022.11.02 |