Update 64.14.1. Use Tomcat 7 with Maven.md

master
qibaoguang 2015-03-25 22:41:43 +08:00
parent c33d880b0e
commit 2f7af8b68c
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
### 64.14.1. 通过Maven使用Tomcat7
如果正在使用starter pom和parent你只需要改变Tomcat的version属性比如对于一个简单的webapp或service
```xml
<properties>
<tomcat.version>7.0.59</tomcat.version>
</properties>
<dependencies>
...
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
...
</dependencies>
```