巴扎黑2017-04-18 10:37:28
The reason has been found. The spring.application.name of config-client must match its own configuration file name.
For example, the configuration file is:
testConfig-test.properties
At this time, the corresponding spring.application.name=testConfig of config-cleint
高洛峰2017-04-18 10:37:28
What about the client’s property configuration? The client needs to point to the configuration server. And can testConfig-test.properties be renamed?