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

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

charset, 是编码的问题。删除application.yml,重新建,就好了。(先把application.yml 编码改为gbk,把内容copy出来,再重新建)

猜你喜欢

转载自blog.csdn.net/ewwerpm/article/details/109553830