1.報錯問題
It's likely that neither a Result Type nor a Result Map was specified
2.錯誤原因:mybatis配置文件中沒有返回類型參數
<select id="getList">
select id,
content,
create_time,
update_time
from content
</select>
3.解決辦法
添加resultType參數值
<select id="getList" resultType="com.example.demo.service.content.vo.ContentVO">
select id,
content,
create_time,
update_time
from content
</select>