异常:Request processing failed; nested exception is org.apache.ibatis.binding.BindingException
在整合SSM框架时,运行 tomcat7遇到了如下异常在网上查了很多资料,最后发现是找不到mapper对应的xml文件,于是我到target目录去查找,是否存在mapper对应的xml文件,发现xml 文件并不在target目录下。解决方法:在pom.xml文件添加如下内容:<!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 --> <build>
原创
2016-07-26 12:31:32 ·
11515 阅读 ·
0 评论