ibatis There is no statement named XXX in this SqlMap
2014-03-26 14:28
567 查看
ibatis There is no statement named XXX in this SqlMap.
实体映射文件未加入到sqlMap-Config.xml文件中。
原因是:
框架只读取sqlMap-Config.xml文件,对新建的sqlMap引入文件即使注入bean也不予理睬。将引入文件加入sqlMap-Config.xml就可以解决问题。
把用到xml文件加到sqlMap-Config.xml中引入就可以了
实体映射文件未加入到sqlMap-Config.xml文件中。
原因是:
框架只读取sqlMap-Config.xml文件,对新建的sqlMap引入文件即使注入bean也不予理睬。将引入文件加入sqlMap-Config.xml就可以解决问题。
把用到xml文件加到sqlMap-Config.xml中引入就可以了
相关文章推荐
- ibatis与spring的配置( There is no statement named XXX in this SqlMap)
- 解闷ibatis与spring的配置( There is no statement named XXX in this SqlMap)
- ibatis的there is no statement named xxx in this SqlMap
- ibatis的there is no statement named xxx in this SqlMap
- ibatis的there is no statement named xxx in this SqlMap
- ibatis的there is no statement named xxx in this SqlMap
- com.ibatis.sqlmap.client.SqlMapException: There is no statement named 语句名 in this SqlMap.
- There is no statement named XXX in this SqlMap
- there is no statement named xxx in this SqlMap
- SqlMapException: There is no statement named xxx in this SqlMap.
- 解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap
- ibatis报错 There is no statement named userList in this SqlMap.
- there is no statement named xxx in this SqlMap.
- ibatis:There is no statement named insertComment in this SqlMap
- 解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap
- There is no statement named xxx.xxx in this SqlMap
- com.ibatis.sqlmap.client.SqlMapException: There is no statement named Control.insert-control in this SqlMap.
- com.ibatis.sqlmap.client.SqlMapException: There is already a statement named search in this SqlMap.
- Ibatis com.ibatis.sqlmap.client.SqlMapException: There is already a statement named in this SqlMap.
- There is no statement named OproductKey.selectProductkey in this SqlMap