注意觀察 renren-fast 是否有注冊到Nacos上
如果沒有,檢查配置文件bootstrap.yml
spring: cloud: nacos: discovery: server-addr: 127.0.0.1:8848 application: name: renren-fast
和啟動項是否添加注解
@EnableDiscoveryClient //該注解
@SpringBootApplication
public class RenrenApplication {
public static void main(String[] args) {
SpringApplication.run(RenrenApplication.class, args);
}
}
