Mybatis报错如下:
Cause: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.wang.dao.BlogMapper.queryblogIF'. It's likely that neither a Result Type nor a Result Map was specified.
原因:
在mapper.xml文件没有返回值类型
解决办法:
<select id="queryblogIF" parameterType="map" resultType="blog">