当前位置:网站首页>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
边栏推荐
- Observable time series data downsampling practice in Prometheus
- 【虚幻引擎UE】实现UE5像素流部署仅需六步操作少走弯路!(4.26和4.27原理类似)
- Possible stack order of stack order with length n
- Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)
- 美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
- 小程序中实现文章的关注功能
- American 5g open ran suffered another major setback, and its attempt to counter China's 5g technology has failed
- Threejs Internet of things, 3D visualization of farms (I)
- Threejs Internet of things, 3D visualization of factory
- You Li takes you to talk about C language 7 (define constants and macros)
猜你喜欢

【虚幻引擎UE】实现测绘三脚架展开动画制作
![[finebi] the process of making custom maps using finebi](/img/3a/d638dbac6a26c37087ec9550c35e63.png)
[finebi] the process of making custom maps using finebi

如何优雅的获取每个分组的前几条数据

函數(易錯)

函数(易错)
![[popular science] basic knowledge of thermal design: heat dissipation analysis of 5g optical devices](/img/45/380e739f5eed33626c363756f814d3.png)
[popular science] basic knowledge of thermal design: heat dissipation analysis of 5g optical devices

【虚幻引擎UE】实现UE5像素流部署仅需六步操作少走弯路!(4.26和4.27原理类似)

Realize the attention function of the article in the applet

Hypothesis testing -- learning notes of Chapter 8 of probability theory and mathematical statistics
![[phantom engine UE] realize the animation production of mapping tripod deployment](/img/89/351641c3da7e2acdbf389bc298b75e.png)
[phantom engine UE] realize the animation production of mapping tripod deployment
随机推荐
Seven join join queries of MySQL
OWASP top 10 vulnerability Guide (2021)
American 5g open ran suffered another major setback, and its attempt to counter China's 5g technology has failed
线上故障突突突?如何紧急诊断、排查与恢复
The scale of computing power in China ranks second in the world: computing is leaping forward in Intelligent Computing
How to remove installed elpa package
如何进行「小步重构」?
Scheduling system of kubernetes cluster
Official announcement! The third cloud native programming challenge is officially launched!
Number of possible stack order types of stack order with length n
How to carry out "small step reconstruction"?
Threejs realizes rain, snow, overcast, sunny, flame
About the project error reporting solution of mpaas Pb access mode adapting to 64 bit CPU architecture
[phantom engine UE] the difference between running and starting, and the analysis of common problems
PHP reads the INI file and writes the modified content
托管式服务网络:云原生时代的应用体系架构进化
Managed service network: application architecture evolution in the cloud native Era
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
Three level linkage demo of uniapp uview u-picker components
【UNIAPP】系统热更新实现思路