当前位置:网站首页>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
边栏推荐
- 3 minutes learn to create Google account and email detailed tutorial!
- 包 类 包的作用域
- 【UNIAPP】系统热更新实现思路
- [uniapp] system hot update implementation ideas
- [phantom engine UE] realize the animation production of mapping tripod deployment
- PHP reads the INI file and writes the modified content
- Technical tutorial: how to use easydss to push live streaming to qiniu cloud?
- PHP读取ini文件并修改内容写入
- Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)
- Mxnet imports various libcudarts * so、 libcuda*. So not found
猜你喜欢

A solution to the problem that variables cannot change dynamically when debugging in keil5

Observable time series data downsampling practice in Prometheus

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

SPI read / write flash principle + complete code

A real day for Beijing programmers!!!!!

函数(易错)

Sequence diagram of single sign on Certification Center

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

自动语音识别(ASR)研究综述

kubernetes集群之调度系统
随机推荐
【虚幻引擎UE】实现测绘三脚架展开动画制作
机器学习 --- 神经网络
根据入栈顺序判断出栈顺序是否合理
网络安全-记录web漏洞修复
蛇形矩阵
Here comes the Lantern Festival red envelope!
函数(基本:参数,返回值)
Convert Boolean to integer value PHP - Convert Boolean to integer value PHP
Technical tutorial: how to use easydss to push live streaming to qiniu cloud?
Threejs clicks the scene object to obtain object information, and threejs uses raycaster to pick up object information
行为感知系统
MySQL: view with subquery in the from clause limit
Serpentine matrix
How to force activerecord to reload a class- How do I force ActiveRecord to reload a class?
TPG x AIDU | AI leading talent recruitment plan in progress!
概率论与数理统计考试重点复习路线
Seven join join queries of MySQL
Network security - record web vulnerability fixes
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
How can CIOs use business analysis to build business value?