当前位置:网站首页>Invalid bound statement (not found) in idea -- problem solving
Invalid bound statement (not found) in idea -- problem solving
2022-07-05 04:25:00 【acwing】
Invalid bound statement (not found)
Screenshot of error reporting

The main reason for such mistakes is to check your own
.xml File corresponding namespace Is it right
Corresponding sql Whether the input parameter type and return type of the field are equal
Corresponding sql Fields must be and mapper The method names in the interface are the same
After eliminating these problems, the rest is whether your file directory is successfully scanned
idea compiler
Check your compiler target Of classes Is there any generated file in 
Some are compiler problems
The problem is to ensure that you have the same file path Corresponding interface and xml The file needs the same path
Or the corresponding application Configuration file in Need to set up mapper.xml Find the path of the corresponding method
If you are using Mybatis The generator generator If you use the above method, it still won't work In your own compiler
Delete previously generated files
Regenerate it That's all right.
mvn mybatis-generator:generate
The main thing is to ensure the corresponding target The file needs to have .xml Generate
边栏推荐
- Introduction to RT thread kernel (4) -- clock management
- 小程序中实现文章的关注功能
- open graph协议
- Use threejs to create geometry and add materials, lights, shadows, animations, and axes
- You Li takes you to talk about C language 7 (define constants and macros)
- A real day for Beijing programmers!!!!!
- 函数(易错)
- 长度为n的入栈顺序的可能出栈顺序种数
- 【虚幻引擎UE】实现测绘三脚架展开动画制作
- Seven join join queries of MySQL
猜你喜欢

蛇形矩阵

程序员应该怎么学数学
![[moteur illusoire UE] il ne faut que six étapes pour réaliser le déploiement du flux de pixels ue5 et éviter les détours! (4.26 et 4.27 principes similaires)](/img/eb/a93630aff7545c6c3b71dcc9f5aa61.png)
[moteur illusoire UE] il ne faut que six étapes pour réaliser le déploiement du flux de pixels ue5 et éviter les détours! (4.26 et 4.27 principes similaires)

【虚幻引擎UE】实现背景模糊下近景旋转操作物体的方法及踩坑记录

Why can't all browsers on my computer open web pages

快手、抖音、视频号交战内容付费

Threejs implements labels and displays labels with custom styles

Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)

【虚幻引擎UE】实现测绘三脚架展开动画制作

TPG x AIDU | AI leading talent recruitment plan in progress!
随机推荐
Function (basic: parameter, return value)
解密函数计算异步任务能力之「任务的状态及生命周期管理」
Here comes the Lantern Festival red envelope!
Uncover the seven quirky brain circuits necessary for technology leaders
可观测|时序数据降采样在Prometheus实践复盘
Network security - record web vulnerability fixes
函数(基本:参数,返回值)
CSDN正文自动生成目录
You Li takes you to talk about C language 7 (define constants and macros)
PR video clip (project packaging)
[Chongqing Guangdong education] 2408t Chinese contemporary literature reference test in autumn 2018 of the National Open University
Ctfshow web entry code audit
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
Threejs realizes the drawing of the earth, geographical location annotation, longitude and latitude conversion of world coordinates threejs coordinates
[finebi] the process of making custom maps using finebi
level18
mysql的七种join连接查询
Looking back on 2021, looking forward to 2022 | a year between CSDN and me
File upload bypass summary (upload labs 21 customs clearance tutorial attached)
Learning notes 8