容器成功开启mysql和redis后,运行user-edge-service
来源:4-1 服务docker化(上)
慕村0575368
2020-11-15
user-edge-service启动不成功,显示
APPLICATION FAILED TO START
Description:
Field userMapper in com.imooc.user.service.UserServiceImpl required a bean of type ‘com.imooc.user.mapper.UserMapper’ that could not be found.
Action:
Consider defining a bean of type ‘com.imooc.user.mapper.UserMapper’ in your configuration.
Process finished with exit code 1
小白学生一枚,查找了很多解决办法都不奏效,老师能指点一下吗
写回答
1回答
-
com.imooc.user.service.UserServiceImpl 这个类跟git上的对比下,找不同~
git地址:https://git.imooc.com/coding-198/coding-198
022020-11-18
相似问题