点击菜单Window – Preferences,进入配置界面。
- General – Workspace, Text file encoding选择Other: UTF-8;
- Install/Update – Automatic Update, 不选 Automatically find new updates and notify me。
- Java – Installed JREs, 添加上文安装的JDK,如果存在可忽略。
- Java – Installed JREs – Execution Environments,JavaSE-1.8选择上步的JDK。
- Maven,不选 Do not automatically update dependencies from remote repositories。
- Maven – Installations,添加上文安装的Maven。
- Maven – User Settings,Global Settings指向%M2_HOME%\conf\settings.xml,User Settings也可以指向这个。
- Validation,点击Disable All,OK。