IDEA 启动报错 java.nio.charset.MalformedInputException: Input length=2

idea 启动提示 other.xml 无法解析

 ...... cannot parse file other.xml: java.nio.charset.MalformedInputException: Input length = 2

原因:我的项目 编码 都是设置 UTF-8 的,突然间 项目的编码 就变成了 GBK , 重新改成 UTF-8 就可以启动了。

 

原文地址:https://www.cnblogs.com/oukele/p/14249962.html