报错信息:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
问题原因:静态资源过滤问题
在maven中使用标签即可:
<build>
<resources>
<resource>
<!-- 静态资源存放路径 -->
<!--<directory>src/main/resources</directory> -->
<directory>src/main/java</directory><!-- 此路径是由于我需要获取的是java文件夹下的静态资源 -->
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>