mybatis中报错:
6-Jan-2018 12:08:04.280 SEVERE [http-nio-8080-exec-7] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [springMVC] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.builder.IncompleteElementException:Could not find result map com.ssm.blog.dao.BlogDAO.int] with root cause
java.lang.IllegalArgumentException: Result Maps collection does not contain value for com.ssm.blog.dao.BlogDAO.int
很低级的错误,异常说没有int这个result map
count返回值是个int型的,没有用结果集,所以应该是resultType而不是resultMap