首页
编程
java
php
前端
首页
编程
java
php
前端
关于#java#的问题,如何解决?
跳转后出现这个Request processing failed; nested exception is java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for com.zhangsan.dao.UserMapper.selectByName 然后我去找了一下发现Usermapper里面我写了一个User selectByName(String name);
求解决
参考一下这篇文章进行排查一下错误
mybatis中出现Mapped Statements collection does not contain value for...错误原因分析_拉布拉多先生的博客-CSDN博客
<!-- by fyw find --><select id="findbySalary" parameterType="double" resultMap="studentMap2">select students_id,students_name,students_salfrom students2where students_sal= #{FYW_do...
https://blog.csdn.net/qq_28863045/article/details/80731873
selectByName方法对应的mapper配置错误,发配置出来看看。
贴代码兄弟
点击展开全文