当前位置:网站首页>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
边栏推荐
- Bit operation skills
- Hypothesis testing -- learning notes of Chapter 8 of probability theory and mathematical statistics
- 可观测|时序数据降采样在Prometheus实践复盘
- Number of possible stack order types of stack order with length n
- Fuel consumption calculator
- 长度为n的入栈顺序的可能出栈顺序种数
- Threejs rendering obj+mtl model source code, 3D factory model
- Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)
- Threejs realizes sky box, panoramic scene, ground grass
- 假设检验——《概率论与数理统计》第八章学习笔记
猜你喜欢

取余操作是一个哈希函数

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

NetSetMan pro (IP fast switching tool) official Chinese version v5.1.0 | computer IP switching software download

Fonction (sujette aux erreurs)

Pointer function (basic)

直播预告 | 容器服务 ACK 弹性预测最佳实践

About the prompt loading after appscan is opened: guilogic, it keeps loading and gets stuck. My personal solution. (it may be the first solution available in the whole network at present)

【虚幻引擎UE】运行和启动的区别,常见问题分析

Threejs realizes sky box, panoramic scene, ground grass

Looking back on 2021, looking forward to 2022 | a year between CSDN and me
随机推荐
蛇形矩阵
Open graph protocol
[phantom engine UE] realize the animation production of mapping tripod deployment
[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)
Judge whether the stack order is reasonable according to the stack order
【虚幻引擎UE】实现UE5像素流部署仅需六步操作少走弯路!(4.26和4.27原理类似)
取余操作是一个哈希函数
这是一个不确定的时代
Threejs rendering obj+mtl model source code, 3D factory model
This is an age of uncertainty
Study notes 7
Threejs Internet of things, 3D visualization of farms (II)
How to remove installed elpa package
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording
Power management bus (pmbus)
Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
3 minutes learn to create Google account and email detailed tutorial!
Fonction (sujette aux erreurs)
Learning MVVM notes (1)
A應用喚醒B應該快速方法