Error description

In the use of nacos as a microservice configuration center, want to dynamically release configuration to multi-environment microservices to go, the service released after the JAR package, run the JAR package in the local command window times wrong, run in idea is very happy, but to the command window is not good:

The reason for the error

That’s because I used ityamlThe file is a configuration file, and I inadvertently configured Chinese entries in the YAML file, which is very sensitive to Chinese.



Try not to configure Chinese items in your project. If you must include Chinese items, you can also use this command:Java - Dfile. Encoding = utf-8 - jar package name -- spring. Cloud. Nacos. Config. The namespace = XXX