上面这个是错误信息,但是该微服务在本地启动的时候是可以的,但是本地打成jar包本地执行的时候就失败。 需要再 Java -jar 的中间加一下字符编码
java -Dfile.encoding=utf-8 -jar myself.jar myself.jar 是自己的jar包
问题解决
- MalformedInputException YAMLException springcloud charset lengthmalformedinputexception charset caused length malformedinputexception charset length input malformedinputexception yamlexception springcloud malformedinputexception yamlexception snakeyaml malformedinputexception charset格式 文件 项目malformedinputexception yamlexception yamlexception malformedinputexception charset charset_normalizer