Full error:
The problem revolves around mapper. There may be many reasons for the problem:
1. The control document is written incorrectly
2. The file generated after compilation does not contain XML file
Solution: manually specify the resource folder in the pop file
<!-- Manually specify the resource folder-->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
Read More:
- [How to Solve] Invalid bound statement (not found)
- How to Solve Mybatis error: invalid bound statement (not found)
- [Solved] Mybatis-Plus Error: Invalid bound statement (not found)
- Mybatis Error: Invalid bound statement (not found)
- springboot jsp: There was an unexpected error (type=Not Found, status=404). No message available
- How to Solve Error: Invalid bound statement (not found)
- Springboot mybatis Integrate Error: Invalid bound statement (not found): com…DepartmentMapper.save
- [Solved] Failed to load resource: the server responded with a status of 404 ()
- [Solved] SpringBoot Error: Property ‘mapperLocations‘ was not specified.
- [Solved] Could not find resource COM / atguigu / Dao / studentdao.xm, the mapper file for storing SQL statements could not be found and an error occurred
- HQL statement query error: could not resolve property [Solved]
- [Solved] Java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘__frch_it
- [Solved] POI Read excel Error: Your InputStream was neither an OLE2 stream, nor an OOXML stream
- Ternary operator in Java?: error: not a statement
- Gitee Idea Push Error: Invocation failed Server returned invalid Response. java.lang.RuntimeException
- Springcloud Project Error: web.client.HttpServerErrorException$InternalServerError: 500 Internal Server Error
- [Solved] BindingException: Type interface XXX is not known to the MapperRegistry
- keytool error java.io.IOException:keystore was tampered with,or password was incorre
- [Solved] Web server failed to start. Port 8080 was already in use.
- [Solved] SpringBoot Startup Error: Description:Web server failed to start. Port 9090 was already in use.(win10)