zhangli-s 发表于 2016-11-24 08:12:51

mybatis报错记录

  org.apache.ibatis.inding.BindingException:Invalid bound statement(not found)
  1.mybatis mapper.xml中sql的配置的返回参数 resultMap="map"  就会报这个错  ,resultMap是需要在mapper.xml文件中进行配置,指定到某个对象,如果返回时hashMap的话 就 改成resultType="map";
  2.java命名空间没有对应上导致resultMap找不到对象
页: [1]
查看完整版本: mybatis报错记录