1. problem description
2. Debugging and tracking
Debug discovery when project can be started mapper.xml Could not load.
Various comparison and tracking source code discovery, when
Mapper locations set to classpath:mybatis.mapper/ * Mapper.xml
The procedure is normal.
It is found that there is a problem in the establishment of the directory file under resource.
It is not a secondary directory folder, but a folder named“ mybatis.mapper “First level documents. By re creating a mybatis folder and a mapper subfolder, the result is a problem.