您好!欢迎来到聚码网

聚码网

热门搜索: 相亲小程序    搭子源码    直播系统自有商城   
  • JAVAmybatispojo.xml配置问题
  • 聚码交流
  • 0 1
  • yhuxAvNbtxUM
    0000-00-00 00:00:00
  • 回帖
刚学JAVA,参照例子写的,跑不起来,报错是:org.apache.ibatis.exceptions.PersistenceException:###ErrorbuildingSqlSession.###Theerrormayexistinmapper/User.xml###Cause:org.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:org.apache.ibatis.builder.BuilderException:Errorcreatingdocumentinstance.Cause:org.xml.sax.SAXParseException;lineNumber:10;columnNumber:77;值为"pojo.User"的属性"resultSetType"必须具有列表"FORWARD_ONLYSCROLL_INSENSITIVESCROLL_SENSITIVE"中的值。我的写法是这样的<mappernamespace="test"><selectid="findUserByID"parameterType="int"resultSetType="pojo.User">SELECT*FROM`user`WHEREid=#{id};</select></mapper>写了pojo.User,提示错误不太知道这里路劲该怎么写,项目目录如图
最近热帖
近期热议
联系我们
Q Q:317563994
电话:400-000-000
邮箱:317563994@qq.com
时间:09:00 - 17:00