码迷,mamicode.com
首页 > 移动开发 > 详细

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.me.dao.UserMapper.selectByPrimaryKey

时间:2017-12-14 04:02:14      阅读:1889      评论:0      收藏:0      [点我收藏+]

标签:cat   exception   ima   classpath   images   xml文件   stat   sele   原因   

 

 

目录如下:

技术分享图片


在yml中加入

mybatis:
mapperLocations: classpath:sqlmap/*.xml

原因:没有找到xml文件

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.me.dao.UserMapper.selectByPrimaryKey

标签:cat   exception   ima   classpath   images   xml文件   stat   sele   原因   

原文地址:http://www.cnblogs.com/Simeonwu/p/8034921.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!