现在2023年了,买的时候没看出版时间,居然是2019年的,感觉有些过时了
我大概看了随书代码,感觉这本书太坑了。做为一个技术高手,写这样的书?还要89块钱?买后悔了。。。。。
44页HelloController类编译出错
private final Logger logger=Logger.getLogger(getClass());
client.getLocalServiceInstance()没这个方法。
作者贴的代码是正确的?
第五章 服务容错保护 152页User u = new UserCommand(restTemplate, 1L).execute();在UserCommand里面构造函数是public UserCommand(Setter setter, RestTemplate restTemplate, Long id) { super(setter); this. = ; this. = ;}
确定在new UserCommand只传两个参数没有问题吗???
spring.application.name来表示{application}的内容不太合适,用spring.cloud.config.name会更合适些!
现在2023年了,买的时候没看出版时间,居然是2019年的,感觉有些过时了
我大概看了随书代码,感觉这本书太坑了。做为一个技术高手,写这样的书?还要89块钱?买后悔了。。。。。
44页HelloController类编译出错
private final Logger logger=Logger.getLogger(getClass());
client.getLocalServiceInstance()没这个方法。
作者贴的代码是正确的?
第五章 服务容错保护 152页
User u = new UserCommand(restTemplate, 1L).execute();
在UserCommand里面构造函数是
public UserCommand(Setter setter, RestTemplate restTemplate, Long id) {
super(setter);
this. = ;
this. = ;
}
确定在new UserCommand只传两个参数没有问题吗???
spring.application.name来表示{application}的内容不太合适,用spring.cloud.config.name会更合适些!