idea提交代码到coding上时,不要注释启动类中的@EnableDiscoveryClient这个注解: 不要注释bootstrp.yml这个配置文件中的这一段: 不要注释pom.xml文件中的这个依赖: