当前位置:网站首页>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
边栏推荐
- 学习MVVM笔记(一)
- Serpentine matrix
- 网络安全-记录web漏洞修复
- After the deployment of web resources, the navigator cannot obtain the solution of mediadevices instance (navigator.mediadevices is undefined)
- Threejs Internet of things, 3D visualization of farms (I)
- File upload bypass summary (upload labs 21 customs clearance tutorial attached)
- 假设检验——《概率论与数理统计》第八章学习笔记
- 【虛幻引擎UE】實現UE5像素流部署僅需六步操作少走彎路!(4.26和4.27原理類似)
- Ctfshow web entry code audit
- Looking back on 2021, looking forward to 2022 | a year between CSDN and me
猜你喜欢
C26451: arithmetic overflow: use the operator * on a 4-byte value, and then convert the result to an 8-byte value. To avoid overflow, cast the value to wide type before calling the operator * (io.2)
【UNIAPP】系统热更新实现思路
程序员应该怎么学数学
Threejs Internet of things, 3D visualization of farms (II)
Discussion on the dimension of confrontation subspace
Hypothesis testing -- learning notes of Chapter 8 of probability theory and mathematical statistics
[phantom engine UE] package error appears! Solutions to findpin errors
【虚幻引擎UE】实现测绘三脚架展开动画制作
假设检验——《概率论与数理统计》第八章学习笔记
函數(易錯)
随机推荐
Ctfshow 2022 Spring Festival welcome (detailed commentary)
[phantom engine UE] the difference between running and starting, and the analysis of common problems
[finebi] the process of making custom maps using finebi
[phantom engine UE] realize the animation production of mapping tripod deployment
Threejs implements labels and displays labels with custom styles
[uniapp] system hot update implementation ideas
American 5g open ran suffered another major setback, and its attempt to counter China's 5g technology has failed
FFmepg使用指南
[untitled]
A应用唤醒B应该快速方法
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording
File upload bypass summary (upload labs 21 customs clearance tutorial attached)
官宣!第三届云原生编程挑战赛正式启动!
Sword finger offer 07 Rebuild binary tree
Three level linkage demo of uniapp uview u-picker components
如何进行「小步重构」?
kubernetes集群之调度系统
Function (basic: parameter, return value)
Hexadecimal to octal
Live broadcast preview | container service ack elasticity prediction best practice