org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1

乐百川

关注

阅读 96

2022-01-27

org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1

yml文件编码问题

通常的启动方式:

java -jar springboot服务

设置启动编码方式:

java -Dfile.encoding=utf-8 -jar springboot服务

精彩评论(0)

0 0 举报