博客园站长
这是人类成长进步中记录的每一时刻

1、提示 This SQL map does not contain a MappedStatement named funcname(你调用的方法名)

答:a.请检查  funcname是否有存在重复,或者是否没有这个(惨痛的教训!),一般这个 方法名必须不能跟别的xml里的方法一致,所以方法名要唯一

      b.继第一个问题,发现还是不行,那么去你项目下找一找你当前sql存在的xml文件 。竟然发现多了1个同名xml文件,真正操作就是这个xml。

 

2、提示如下

- Check the parameter mapping typeHandler attribute '' (must be a ITypeHandlerCallback implementation).
- The error occurred in <sqlMap resource="Maps/FrameWork_TableField.config" xmlns="http://ibatis.apache.org/dataMapper" />. 
- Check the vs9.entity.FrameWork_TableName.Select.

答:方法名已经存在,查找下此MAP的 namespace 是否跟其他map重复,或者   此MAP里的  方法是否重复,如:xx.getmodel  

posted on 2013-04-11 11:30  dm3344  阅读(635)  评论(0编辑  收藏  举报