-
Notifications
You must be signed in to change notification settings - Fork 0
Home
BOBO edited this page Oct 31, 2017
·
3 revisions
- 安装JDK1.8-64bit
方案:配置相关环境变量JAVA_HOME CLASSPATH PATH等
- 安装Eclipse-JEE-neon3-64bit
方案:切记为neon3-64bit版,其他有的版本并不集成git和maven插件
- 配置eclipse的默认WorkSpace编码默认为UTF-8
方案:Window/Prepferences/General/Workspace下,更改GBK为UTF-8编码
- 配置eclipse的默认.properties属性文件的编码为UTF-8
方案:Window/Prepferences/General/Content Types/Text/Java Properties File/下,更新ISO-8859-1为UTF-8编码
- .m2中的settings.xml文件中要配置jdk的版本
方案:在settings.xml文件中的profiles配置项中增加如下的profile
<profiles>
.............其他配置
<profile>
<id>jdk-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
..............其他配置
</profiles>©2017 RanJi