##springboot+mybatis出现的错误,有可能是导包错误
org.mapstruct.Mapper
import org.apache.ibatis.annotations.Mapper;
这两个包应该选择:org.apache.ibatis.annotations.Mapper。
在这个问题上花了一个小时。导包的时候一定要看清楚了—打自己一顿……
A component required a bean of type ‘*****‘ that could not be found
最新推荐文章于 2025-03-21 16:41:24 发布