当前位置:网站首页>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
边栏推荐
- PHP reads the INI file and writes the modified content
- Threejs Internet of things, 3D visualization of factory
- Common features of ES6
- Scheduling system of kubernetes cluster
- Rome chain analysis
- Ctfshow 2022 Spring Festival welcome (detailed commentary)
- [thingsboard] how to replace the homepage logo
- 函数(易错)
- MacBook installation postgresql+postgis
- [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)
猜你喜欢
指针函数(基础)
User behavior collection platform
Live broadcast preview | container service ack elasticity prediction best practice
Function (error prone)
Is "golden nine and silver ten" the best time to find a job? Not necessarily
American 5g open ran suffered another major setback, and its attempt to counter China's 5g technology has failed
假设检验——《概率论与数理统计》第八章学习笔记
【虚幻引擎UE】打包报错出现!FindPin错误的解决办法
CSDN正文自动生成目录
Function (basic: parameter, return value)
随机推荐
Un réveil de l'application B devrait être rapide
【UNIAPP】系统热更新实现思路
[finebi] the process of making custom maps using finebi
机器学习 --- 决策树
Live broadcast preview | container service ack elasticity prediction best practice
Number of possible stack order types of stack order with length n
Introduction to RT thread kernel (4) -- clock management
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
【FineBI】使用FineBI制作自定义地图过程
Learning MVVM notes (1)
WGS84 coordinate system, web Mercator, gcj02 coordinate system, bd09 coordinate system - brief introduction to common coordinate systems
Mixed compilation of C and CC
机器学习 --- 神经网络
托管式服务网络:云原生时代的应用体系架构进化
level17
Moco is not suitable for target detection? MsrA proposes object level comparative learning target detection pre training method SOCO! Performance SOTA! (NeurIPS 2021)...
直播预告 | 容器服务 ACK 弹性预测最佳实践
Threejs loads the city obj model, loads the character gltf model, and tweetjs realizes the movement of characters according to the planned route
A application wakes up B should be a fast method
Possible stack order of stack order with length n