Mybatis错误:Invalid bound statement (not found): com.xxx.dao.xxxDao.xxx解决
@[TOC](关于错误:Invalid bound statement (not found): com.xxx.dao.xxxDao.xxx的解决)
Mybatis错误:Invalid bound statement (not found): com.xxx.dao.xxxDao.xxx解决
这个问题我找了半天,看着网上资料,比对了所有文件里可能打错的地方都没有发现,结果最终发现是mapper.xml文件没有写.xml后缀ヽ(´¬`)ノ。
如果在idea中新建文件时不添加后缀,idea会给出文件类型选项
原创
2021-05-02 21:49:40 ·
1423 阅读 ·
4 评论