Mapped Statements collection does not contain value for selectPersonByNo
这是今天在学习Mybatis时遇到的错误,搞了一下午
最后晚上终于整出来了,错误就是因为映射文件中的id和selectOne中的参数写的不一致
造成这一异常的还有其他可能,搜了许多的博客,他们都是在说是因为Mybatis的配置文件中没有写映射文件
总之总算整完了,这MyBatis入门也太费事了吧orz
这是今天在学习Mybatis时遇到的错误,搞了一下午
最后晚上终于整出来了,错误就是因为映射文件中的id和selectOne中的参数写的不一致
造成这一异常的还有其他可能,搜了许多的博客,他们都是在说是因为Mybatis的配置文件中没有写映射文件
总之总算整完了,这MyBatis入门也太费事了吧orz