Spring项目中使用了JPA以及Mybatis--mapper文件注解引错包导致编译错误

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.

以上是错误内容,此处只是记录这一种错误,

JPA导入的路径      :import org.mapstruct.Mapper;

Mybatis导入的路径:import org.apache.ibatis.annotations.Mapper;

你可能感兴趣的:(mybatis)