org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.shen.mapper.UserMapper.findByIdhtml
大概的意思是java
找不到映射文件apache
形成的缘由是:app
将下面的代码添加到pom.xml中url
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources>
而后再运行就不会报这个错误了.net
再看这个目录发现有映射文件了code
出现下面这个问题访问xml
java.lang.IllegalAccessError: org.apache.commons.dbcp.DelegatingPreparedStatement.isClosed()Zhtm