The 2020-11-18 16:56:10 [com. Alibaba. Nacos. Client. Worker. LongPolling. Fixed - 106.53.22.186 _8848 - public] INFO C.A.N.C.C onfig. Impl. ClientWorker
- [fixed - 106.53.22.186 _8848 - public] [data - received] dataId=nacos_client - dev - yaml, group=DEFAULT_GROUP, tenant=public, md5=97670 ffa269a8e83b64478e4359508e2, content=spring:
Profiles:
Active: dev
Server side version is: 1.4,
Pom is introduced into the client version
Com. Alibaba. Cloud Spring - the cloud - alibaba - dependencies 2.1.0. RELEASE Pom Import Com. Alibaba. Nacos Nacos - client Com. Alibaba. Nacos Nacos - client 1.4.0 & lt;/version>
The bootstrap. Yml
Server:
Port: 8090 # port
Spring:
Application:
Name: nacos_client dev - yaml
# add nacos - server framework
Cloud:
Nacos:
Config:
Server - addr: localhost: 8848
File - the extension: yml
Namespace: public
Heard that will solve the problem, after 1.2 I fart dian fart upgraded to 1.4, but still can't solve, I don't know whether my code has a problem
CodePudding user response:
Look at me this: https://blog.csdn.net/dotnetstudio? SPM=1004.2023.3001.5113