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

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

 

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

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

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

 

记录2:

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

 

 操作方式如下:

1.  关闭此项目

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

 

 2.  在 idea 选择项目的列表中将此 项目移除

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

 

 

3.  去 项目的根目录中 将 .idea 文件夹 全部删除

 

4. 用 idea 重新 导入 这个项目,.idea 文件夹 会重新生成。

 

5. 启动...

 

相关文章:

  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-21
  • 2022-12-23
  • 2021-08-20
  • 2021-05-30
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案