org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.atguigu.eduserv
出现这个错误主要是因为mapper中的xml为编译,target中是找不到编译文件的。
解决方法:
在pom.xml中加上:
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
原创
2021-12-02 14:41:36 ·
363 阅读 ·
0 评论