严重:无法初始化连接器[Connector [HTTP / 1.1-8080]]
  org.apache.catalina.LifecycleException:尝试对状态为[INITIALIZED]的组件[Connector [HTTP / 1.1-8080]]进行无效的生命周期转换([before_init])
          在org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:402)
          在org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
          在org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
          在org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
          在org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
          在org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
          在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
          在org.apache.catalina.startup.Tomcat.start(Tomcat.java:343)
          在webapp.runner.launch.Main.main(Main.java:275)

最佳答案

我正在使用sbt嵌入式Tomcat(jsimone webapp-runner),并且遇到相同的错误。当我升级到8.5.11.0时,错误消失了,所以我假设this修复了它。

08-04 20:21