Spring-Tools-Suite-4(STS4) 配置


JDK配置

Window->Preferences

 

 搜索JRE選取jdk

 

 

Maven庫配置文件

創建txt文件,復制下列代碼到文件中,文件重命名為settings.xml

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
 3           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 4           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
 5  
 6 <!--  本地maven庫 -->
 7   <localRepository>D:\DxOffice\repository</localRepository>
 8   
 9 <!--   中央maven庫 -->
10   <mirrors>
11     <mirror>
12         <id>nexus-aliyun</id>
13         <mirrorOf>*</mirrorOf>
14         <name>Nexus aliyun</name>
15         <url>http://maven.aliyun.com/nexus/content/groups/public</url>
16     </mirror>
17   </mirrors>
18   
19 </settings>
20 <!-- 配置:Preferences -> Maven -> User Settings -> User Settings -->

Window-Preferences

搜索maven,修改Maven下User Settings下的User Settings路徑到settings.xml所在路徑

 

 

統一編碼方式

Window->Preferences

 

 

 

 Project

程(Project):

Properties-Resource->Text file encoding

文件:

Properties-Resource->Text file encoding


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM