Error:java: Can‘t generate mapping method with primitive return type.

469 阅读1分钟

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

错误导入 jpa import org.mapstruct.Mapper;

正确导入 mybatisPlus import org.apache.ibatis.annotations.Mapper;