error

[error] org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

blackzapato 2021. 7. 22. 20:17
반응형

 

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

제목 그대로다 1시간 정도 삽질하고 글로 써서 미래에 나에게 충고한다 mapper.xml namespace 절.대. 확인해!

 

 

//변경 전
<mapper namespace="com.blackzapato.demo.dao.mainMapper">

//변경 후
<mapper namespace="com.blackzapato.demo.dao.MemberMapper">

그래도 인터넷에서 많은 분들도 의외로 많이들 삽질 하셔서 그나마 위로가 된다ㅎ

 

 

 

도움이 된 블로그

https://seungjenote.tistory.com/entry/Spring-Mybatis-%EC%97%90%EB%9F%AC-5%EA%B0%80%EC%A7%80%EB%A7%8C-%EC%95%8C%EB%A9%B4-%ED%95%B4%EA%B2%B0

 

Spring Mybatis 에러 5가지만 알면 해결!!

Spring Mybatis Error 해결 방법 Spring Mybatis 에러는 제 경험상 5가지만 체크하면 99.8% 정도는? 해결 가능! Error :  java.lang.IllegalArgumentException: Mapped Statements collection does not conta..

seungjenote.tistory.com

https://blog.woniper.net/247

 

[MyBatis] Invalid bound statement (not found): 에러

Invalid bound statement (not found): 에러가 발생하는 이유가 몇 가지 있는데 아무리 찾아봐도 내 문제는 해결되지 않았다. 에러 원인은 아래와 같다. Mapper Interface와 mapping되는 xml파일에 오타가 있는 경..

blog.woniper.net

 

반응형

'error' 카테고리의 다른 글

[error] favicon.ico 404 오류  (0) 2021.07.22
[error] mybatis parameter 오류  (5) 2020.03.16