03、配置文件编码格式不正确 Caused by: java.nio.charset.MalformedInputException: Input length = 1

Caused by: java.nio.charset.MalformedInputException: Input length = 1

有多个编码格式 utf-8 和 gbk

03、配置文件编码格式不正确 Caused by: java.nio.charset.MalformedInputException: Input length = 1_第1张图片

这里不一致
03、配置文件编码格式不正确 Caused by: java.nio.charset.MalformedInputException: Input length = 1_第2张图片

都改了,发现还不行
03、配置文件编码格式不正确 Caused by: java.nio.charset.MalformedInputException: Input length = 1_第3张图片

因为只是测试项目,yml只有这两句中文,我就删了再启动,然后重新写,再重新启动,就ok了。
03、配置文件编码格式不正确 Caused by: java.nio.charset.MalformedInputException: Input length = 1_第4张图片

你可能感兴趣的:(2023bug,java,nio,开发语言)