Spring Bootを起動させてもすぐにShutdownしてしまう場合にやること
こちらの回答の通りにやったらうまくいった。
The only possible explanation i can think of is that tomcat embedded jar is not included in the dependencies/jar. Since you have already defined "spring-boot-starter-web" dependency, it should have transitively pulled the embedded tomcat dependencies as well. But somehow it is excluded. Things to try out. Execute "mvn dependency:tree" and check whether the tomcat dependencies exist and in "compile" scope Change the spring boot starter version to 1.4.0.RELEASE.
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.4.0.RELEASE</version> </parent>
最初、1.5.0.RELEASEなんてしてたのを、1.4.0に変更。 Run as…のRun configurationでMaven Build で、Goalsのところに「dependency:tree」を書いてRun