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

相关文章
相关标签/搜索