-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAMLException Deploy springcloud in docker, using springcloudaliba #3434
Comments
Maybe you can try properties configuration files? |
This issue has been open 30 days with no activity. This will be closed in 7 days. |
This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community. |
我这边环境是spring boot3 ,spring 6 ,spring cloud alibaba 2003,nacos server 2.3.0-beta |
服务器环境:Windowsserver 2019
使用docker版本:Docker Desktop 4.21.1 (114176)
使用docker镜像:eclipse-temurin:11.0.19_7-jre-windowsservercore-1809
nacos版本:2.2.0
spring.cloud.alibaba.version:2021.0.1.0
Server environment: Windows server 2019
Use docker version: Docker Desktop 4.21.1 (114176)
Use the docker image: eclipse-temurin:11.0.19_7-jre-windowsservercore-1809
Nacos version: 2.2.0
spring.cloud.alibaba.version: 2021.0.1.0
出现问题:
![image](https://private-user-images.githubusercontent.com/65278566/263144056-c984680b-5a51-4db1-9c61-a5bec711caaf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjQzMTQsIm5iZiI6MTczOTEyNDAxNCwicGF0aCI6Ii82NTI3ODU2Ni8yNjMxNDQwNTYtYzk4NDY4MGItNWE1MS00ZGIxLTljNjEtYTViZWM3MTFjYWFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE4MDAxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiM2M2Mjc4YTEyNzNlNWMyYWJhMjQ2NDcwNDMyZDAzNTRhMDc5ZDUxZWRjYTQ4ZGE5MjIwMTM2MzU1NTI2ZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3n1ton8tulWfteVMmT7wVEsaAjdqnh4X8IVH9AMUfmo)
原因是我在配置文件中使用了中文导致的
我想问一下,我是否有办法将启动时读取nacos配置文件使用的读取yaml方法进行替换或者修改
使得我能够在nacos中保留中文配置
由于是WindowsServerdocker,所以docker镜像中貌似并不能修改系统的字符集
The reason is that I used Chinese in the configuration file
I would like to ask, is there a way for me to replace or modify the method of reading yaml used to read nacos configuration files at startup
Allows me to keep the Chinese configuration in nacos
Since it is WindowsServerdocker, it seems that the character set of the system cannot be modified in the docker image
The text was updated successfully, but these errors were encountered: