点击运行GET http://localhost:8080/test/list后就出现了Invalid bound statement (not found)

来源:3-4 集成持久层框架Mybatis

慕雪8632343

2023-01-04

Invalid bound statement (not found):
图片描述

写回答

1回答

甲蛙

2023-01-05

应该是mapper没找到,对比下源码

  1.  检查启动类有没有加MapperScan注解

  2.  检查配置文件,有没有配置mapper.xml路径

0
0

Spring Boot+Vue3前后端分离,实战wiki知识库系统

一课掌握前后端最火框架,更有职场竞争力

2524 学习 · 1671 问题

查看课程