Spring Boot starterで特定のTomcatで動くアプリケーションを作りたいです。
Eclipseをインストールし、SpringBootStarter で新規プロジェクトを作ったのですが、デフォルトでEclipse9.0 が埋め込まれており、
違うバージョンのものが実装できないようです。
pom.xmlを以下のように変えたところ
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<tomcat.version>8.5.32</tomcat.version>
</properties>
Springプロジェクトで、War/Jar出力時、開発環境のビルドで 特定のTomcatバージョンで動くものを作る方法を教えてください。
エラーLog
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:175)
The following method did not exist: