STS Note

来源:互联网 发布:淘宝天猫优惠券antlm 编辑:程序博客网 时间:2024/06/09 21:21

1. Revamp the spring-framework's version in the POM.xml (Deprecated, this operation would take place automatically once you've saved the pom.xml)

IDE: STS 3.0.0 Release. The default spring-framework's version in the Spring Template Project is 3.0.6 Release, I changed it to 3.1.0 Release. After that, we need toright click the pom.xml in the STS's browser, select the 'Refresh', then Maven launches some processing to fetch certain information from Maven's repository server, after a while you can see the updated dependencies hierarchy.

 

2. Execute 'maven jetty:run' in STS/eclipse

The configuration is below, if we could use port 8080, it's unneccessary to set the port param, 8080 is default setting.

This is equivalent to the command 'mvn -Djetty.port=8088 jetty:run '

conf

jetty

原创粉丝点击