Spring Tool Suite 配置和使用

Spring Tool Suite使用java

1.下載地址: http://spring.io/toolsweb

2.配置字符編碼:UTF-8spring

默認的編碼是ISO-8859-1的西歐文字編windows

1windows--perferences--general--workspaceText file encoding設置成utf-8tomcat

2windows--perferences--general--content types,把裏面textdefault encoding  updateutf-8jsp

3windows--perferences--web--jsp files,把這裏的encoding設置成utf-8maven

4、項目的pom.xml裏面增長一個配置 project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>字體

3.調整字體ui

Window - Preferences - General - Appearance - Colors and Fontsthis

4.安裝SVN

Help - Install New Software - Add

http://subclipse.tigris.org/update_1.8.x

全選下載安裝完成以後重啓STS便可5.集成tomcat

Window - Preferences - Server - Runtime Environment - Add

6.集成的過程出了個問題:能夠安裝8.0的版本 可是這個tomcat 版本是8.5.6

 The Apache Tomcat installation at this directory is version 8.5.6.  A Tomcat 8.0 installation is expected.

 7.由於SVN上傳的項目不是很規範的maven項目  致使down下來變普通java項目:

 右擊項目 - configure - convert to Plug-in projects

  8.導入code模版

 Window - Preferences - Java - Code Style - Code Template - Comments - Import

相關文章
相關標籤/搜索