spring_reference/IX. ‘How-to’ guides/64.14.2. Use Tomcat 7 with ...

10 lines
244 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 64.14.2. 通过Gradle使用Tomcat7
你可以通过设置`tomcat.version`属性改变Tomcat的版本
```gradle
ext['tomcat.version'] = '7.0.59'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
}
```