MyBatis
Mapped Statements collection does not contain value for
xemaker
2019. 5. 15. 09:52
자바 mybatis 프로그래밍을 하다가 Mapped Statements collection does not contain value for
이런 에러를 접했다.
알고보니
xml 상단에
<mapper namespace="xxxMapper">
이름과
자바에서 ( 보통 DaoImpl ) sqlSession.selectList("xxxMapper");
이름이 안맞아서 그랬다.
xxxMapper를 맞춰주면 된다.
이런 에러를 접했다.
알고보니
xml 상단에
<mapper namespace="xxxMapper">
이름과
자바에서 ( 보통 DaoImpl ) sqlSession.selectList("xxxMapper");
이름이 안맞아서 그랬다.
xxxMapper를 맞춰주면 된다.