最新回答 / 慕斯5408319
UserDOMapper接口是直接跟下面的resources里边的mapping文件的xml文件相配合的,你可以试着把xml文件里面的sql语句检查一下。或者重写一下
2019-02-01
我的访问查询报错,断点不进DouserMApper接口
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
2019-02-01
我的访问查询报错,断点不进DouserMApper接口
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
2019-02-01
最赞回答 / 老蔡CaiJHoo
springboot的所有依赖都不需要写version, 因为 springboot项目中 引用的父项目中, 点开进入可以看到父项目的.xml已经把我们大多数常用的依赖做了version锁定. 好处是: 减少了不同依赖之间的版本冲突问题.减轻程序员的负担, 让程序员更专心去处理业务代码. 不用经常分心
2019-01-31
已采纳回答 / 大先生灬
首先user_id这个字段你需要先在数据库中给上一个默认值,让后,如图,你将userDo的id给UserPasswordDo的id进行一次赋值,即可<...图片...>
2019-01-30