- 博客(1)
- 收藏
- 关注
原创 ‘***.Mapper‘ that could not be found.
'***.Mapper' that could not be found..为什么?①要么你没有!————没有就写呗。写了还找不到,往下看。②要么它找不到!————那就告诉它。Springboot不知道Mapper接口在哪…问题解决:(1)加上@Mapper注解import org.apache.ibatis.annotations.Mapper;@Mapperpublic interface UserMapper { Integer insert(User user );弊端
2021-11-06 17:01:54 5463 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人