Disclaimer: This article is knowledge crystalline bloggers, bloggers without permit can not be reproduced for commercial https://blog.csdn.net/zbr0819/article/details/88844215
Import gradle project idea started error Solution
When start compiling error
Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): xxx.mapper.xxxMapper.xxx方法
wrong reason
classes folder only xxxMapper.class idea compile time and resources folder contains no xxxMapper.xml corresponding to the file;
Modify the file build.gradle
Add to:
sourceSets.main.resources.srcDirs=["src/main/java","src/main/resources"]
After the update start:
will be placed xxxMapper.xml corresponding file in the resources folder