Spring Boot - can't start with embedded tomcat error

后端 未结 4 1273
执笔经年
执笔经年 2021-02-20 04:18

pom.xml

    
        org.springframework.boot
        spring-boot-starter-parent         


        
4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 04:51

    2020-09-27T20:14:09.765263+00:00 app[web.1]: Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start

    2020-09-27T20:14:09.765264+00:00 app[web.1]: at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.rethrowDeferredStartupExceptions(TomcatWebServer.java:187) ~[spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]

    2020-09-27T20:14:09.765270+00:00 app[web.1]: at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126) ~[spring-boot-2.3.4.RELEASE.jar!/:2.3.4.RELEASE]

    2020-09-27T20:14:09.765270+00:00 app[web.1]: ... 22 common frames omitted

    2020-09-27T20:14:09.765270+00:00 app[web.1]:

    2020-09-27T20:14:09.845682+00:00 heroku[web.1]: Process exited with status 1

提交回复
热议问题