pom

  
UTF-8
UTF-8
1.8
1.7.1
2020.0.3
2021.1
3.0.0






org.springframework.cloud
spring-cloud-dependencies
${spring-cloud.version}
pom
import


com.alibaba.cloud
spring-cloud-alibaba-dependencies
${spring-cloud-Alibaba.version}
pom
import








com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-discovery


application.properties

#nacos指向注册中心 fhadmin.cn
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848
#nacos访问地址的用户名
spring.cloud.nacos.discovery.username=nacos
#nacos访问地址的密码
spring.cloud.nacos.discovery.password=nacos