org.apache.ibatis.exceptions.PersistenceException:
### Error building SqlSession.
### The error may exist in com/qst/Mapper/*Mapper.xml
### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/qst/Mapper/*Mapper.xml
Could not find resource com/qst/Mapper/*Mapper.xml
so
这是idea不能编译java目录下的xml文件,所以需要在pom文件的build标签中
添加
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
解决!