git clone https:cd spring-boot
git checkout v1.5.9.RELEASE
mvn clean install -Dtomcat.version=9.0.6
... Fails with ...
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spring-boot ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 307 source files to /Users/chirino/sandbox/t/spring-boot/spring-boot/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /Users/chirino/sandbox/t/spring-boot/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java: /Users/chirino/sandbox/t/spring-boot/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java uses unchecked or unsafe operations.
[WARNING] /Users/chirino/sandbox/t/spring-boot/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/chirino/sandbox/t/spring-boot/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java:[290,24] cannot find symbol
symbol: method addServletMapping(java.lang.String,java.lang.String)
location: variable context of type org.apache.catalina.Context
[ERROR] /Users/chirino/sandbox/t/spring-boot/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java:[369,25] cannot find symbol
symbol: method setCompressableMimeType(java.lang.String)
location: variable protocol of type org.apache.coyote.http11.AbstractHttp11Protocol<?>
[INFO] 2 errors