项目场景:
启动项目时候出错
问题描述:
提示报错信息
Can't generate mapping method with primitive return type.
Can't generate mapping method from iterable type to non-iterable type.
Can't generate mapping method from non-iterable type to iterable type.
Can't generate mapping method with primitive return type.
解决方案:
以上是错误内容,此处只是记录这一种错误,
@mapper导包错误
应该
Mybatis导入的路径:import org.apache.ibatis.annotations.Mapper;