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指向注冊(cè)中心 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

?