导入maven项目遇到中文乱码

windows->preferences->content types->word Document 并输入utf-8->update;

右键选中的项目,选择properties->resource->text file encoding->utf-8.

还不行的话,杀手锏是

windows-Preferences-General-Workspace-Text file encoding 设置为uft-8

最后重启一下eclipse通常就ok了。

原文地址:https://www.cnblogs.com/javahr/p/8435576.html