Invalid bound statement (not found): com.starry.dao.IUserDao.selAll
dao层中xml文件不会被预读
在pom.xml文件中加入
在<build>标签中插入下面的代码:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
然后这个错误就会解决