小白白123
2020-04-08 10:21
@Autowired
private IUserService userService;
@Test
public void testGetUserCourseInfo() {
UserCourseInfo userCourseInfo = userService.getUserCourseInfo(7L);
log.info(JSON.toJSONString(userCourseInfo));
}
测试这个的时候报错 FeignClientSpecification', defined in null, could not be registered
在测试的appliation中,注册FeignClient了嘛?@EnableFeignClients
4小时使用SpringCloud框架实现慕课网主页后端开发
3831 学习 · 53 问题