Skip to content

Commit 0e47639

Browse files
committed
Merge pull request #7495 from Eddú Meléndez
* gh-7495: Complete removing support for Tomcat 7 Start removing support for Tomcat 7
2 parents 5c006d0 + 0807c27 commit 0e47639

File tree

21 files changed

+7
-786
lines changed

21 files changed

+7
-786
lines changed

spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,10 @@ The following embedded servlet containers are supported out of the box:
5050
|===
5151
|Name |Servlet Version |Java Version
5252

53-
|Tomcat 8
53+
|Tomcat 8.5
5454
|3.1
5555
|Java 7+
5656

57-
|Tomcat 7
58-
|3.0
59-
|Java 6+
60-
6157
|Jetty 9.3
6258
|3.1
6359
|Java 8+

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -930,57 +930,6 @@ add a listener to the `Builder`:
930930

931931

932932

933-
[[howto-use-tomcat-7]]
934-
=== Use Tomcat 7.x or 8.0
935-
Tomcat 7 & 8.0 work with Spring Boot, but the default is to use Tomcat 8.5. If you cannot
936-
use Tomcat 8.5 (for example, because you are using Java 1.6) you will need to change your
937-
classpath to reference a different version.
938-
939-
940-
941-
[[howto-use-tomcat-7-maven]]
942-
==== Use Tomcat 7.x or 8.0 with Maven
943-
If you are using the starters and parent you can change the Tomcat version property
944-
and additionally import `tomcat-juli`. E.g. for a simple webapp or service:
945-
946-
[source,xml,indent=0,subs="verbatim,quotes,attributes"]
947-
----
948-
<properties>
949-
<tomcat.version>7.0.59</tomcat.version>
950-
</properties>
951-
<dependencies>
952-
...
953-
<dependency>
954-
<groupId>org.springframework.boot</groupId>
955-
<artifactId>spring-boot-starter-web</artifactId>
956-
</dependency>
957-
<dependency>
958-
<groupId>org.apache.tomcat</groupId>
959-
<artifactId>tomcat-juli</artifactId>
960-
<version>${tomcat.version}</version>
961-
</dependency>
962-
...
963-
</dependencies>
964-
----
965-
966-
967-
968-
==== Use Tomcat 7.x or 8.0 with Gradle
969-
[[howto-use-tomcat-7-gradle]]
970-
With Gradle, you can change the Tomcat version by setting the `tomcat.version` property
971-
and then additionally include `tomcat-juli`:
972-
973-
[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
974-
----
975-
ext['tomcat.version'] = '7.0.59'
976-
dependencies {
977-
compile 'org.springframework.boot:spring-boot-starter-web'
978-
compile group:'org.apache.tomcat', name:'tomcat-juli', version:property('tomcat.version')
979-
}
980-
----
981-
982-
983-
984933
[[howto-use-jetty-9.2]]
985934
=== Use Jetty 9.2
986935
Jetty 9.2 works with Spring Boot, but the default is to use Jetty 9.3. If you cannot use

spring-boot-samples/README.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,6 @@ The following sample applications are provided:
207207
| link:spring-boot-sample-tomcat-ssl[spring-boot-sample-tomcat-ssl]
208208
| Web application that uses Tomcat configured with SSL
209209

210-
| link:spring-boot-sample-tomcat7-jsp[spring-boot-sample-tomcat7-jsp]
211-
| Web application that uses JSP templates with Tomcat 7
212-
213-
| link:spring-boot-sample-tomcat7-ssl[spring-boot-sample-tomcat7-ssl]
214-
| Web application that uses Tomcat 7 configured with SSL
215-
216210
| link:spring-boot-sample-tomcat80-ssl[spring-boot-sample-tomcat80-ssl]
217211
| Web application that uses Tomcat 8.0 configured with SSL
218212

spring-boot-samples/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@
8989
<module>spring-boot-sample-tomcat-jsp</module>
9090
<module>spring-boot-sample-tomcat-ssl</module>
9191
<module>spring-boot-sample-tomcat-multi-connectors</module>
92-
<module>spring-boot-sample-tomcat7-jsp</module>
93-
<module>spring-boot-sample-tomcat7-ssl</module>
9492
<module>spring-boot-sample-tomcat80-ssl</module>
9593
<module>spring-boot-sample-traditional</module>
9694
<module>spring-boot-sample-undertow</module>

spring-boot-samples/spring-boot-sample-tomcat7-jsp/pom.xml

Lines changed: 0 additions & 73 deletions
This file was deleted.

spring-boot-samples/spring-boot-sample-tomcat7-jsp/src/main/java/sample/tomcat7/jsp/SampleTomcat7JspApplication.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

spring-boot-samples/spring-boot-sample-tomcat7-jsp/src/main/java/sample/tomcat7/jsp/WelcomeController.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

spring-boot-samples/spring-boot-sample-tomcat7-jsp/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

spring-boot-samples/spring-boot-sample-tomcat7-jsp/src/main/webapp/WEB-INF/jsp/welcome.jsp

Lines changed: 0 additions & 18 deletions
This file was deleted.

spring-boot-samples/spring-boot-sample-tomcat7-jsp/src/test/java/sample/tomcat7/jsp/SampleWebJspApplicationTests.java

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)