org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) problem, that is, there is a problem when mapping and binding the dao interface and mapper configuration file in mybatis. Simply put, the interface and xml are either not found It is either
After the modification, the problem still exists. In the end, it took a lot of effort to find the source of my code problem. The file name of the dao interface is inconsistent with that of the xml.
Both the interface name and the interface file name are DepartmentDao, and the configuration file name is DeparmentDao.xml. It took a lot of effort to find a t letter in the names of both. After the modification, everything is normal.
This is a point that is easy to overlook. Remember: the interface name and the Mybatis mapping file name must be exactly the same.
- How to Fix the common Warning Errors after Vue Project Startup
- How to Solve PageHelper.startPage count Error
- How to Fix Failed to load resource: the server responded with a status of 404()
- When using postman assertion, the global variables set in the tests of the pit will take effect only after the interface is executed
- Browser error: Lazy require of app.binding did not set the binding field
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- Error starting ApplicationContext. To display the auto-configuration report re-run your application
- How to Fix Common Arcpy Error
- MacOS Mojave uses SMB LAN share as backup disk of timemachine time machine. Disk does not support time machine backups. (error 45)
- Intellij IDEA jetty-jmx.xml Error:Duplicate config file paths found
- Visual Studio 2012 error C4996: ‘scanf’: This function or variable may be unsafe.
- RuntimeError: ONNX export failed: Couldn‘t export operator aten::upsample_bilinear2d
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- The page you are requesting cannot be served because of the extension configuration
- Abnormal [System.InvalidOperationException: custom type mapping for ‘xxx’ is not specified or is not a solution
- The loop of life and death occurs when the El table component of element UI is bidirectional bound
- Error when Struts2 started Tomcat: org.apache.catalina.core.StandardContext filterStart
- When Wireshark grabs packets, IP check sum error is displayed
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- (Keil MDK) UCOS floating point support abnormal solution