7. mybatis:mapper-locations: 路径放在java路径下报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
Posted on 2019-04-18 09:40 zkx4213 阅读(235) 评论(0) 编辑 收藏 举报解决方案:在pom.xml文件中的<build>标签内加上以下的<resources>内容即可
<build>
<resources>
<resource>
<directory>src/main/java</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
</build>