The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received

启动类上加:

@MapperScan(value = {"com.example.demo.mapper"})

This issue has appeared in the testing of mybatis batch insert using xml file,
And I check the different with the correct configuration in the old project.
The problem is the mapperScan annotation is missing.
Then I add the mapperScan to the startup class.
The issue closed.

上一篇:单源最短路的建图方式(复习总结)


下一篇:Bpmn(业务流程模型)文档和在线Demo整理