728x90
SMALL
Spring boot 프로젝트 중 Mybatis를 활용하여 DB에 접근하려 했는데 이런 오류가 떨어졌다
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
뭐냐구요...
알고보니 mapper 경로에 문제가 있었던것/./
#mybatis mapper
mybatis.type-aliases-package=kr.jenn.mybatis.
mybatis.mapper-locations=mapper/*.xml
이런식으로해줬는데 mapper-locations가 잘못됐었다.
static안에 있으므로 static/mapper/*.xml로 변경해줘야한다.
변경해주니 아주 잘 나온다..
728x90
LIST
'Front > error' 카테고리의 다른 글
no such method 'hide' for tooltip widget instance (0) | 2022.06.22 |
---|---|
Unexpected end of input (0) | 2021.09.16 |
톰캣 환경변수 설정 (0) | 2021.04.30 |
Invalid shorthand property initializer에러 (0) | 2020.11.13 |
댓글