无法在枢纽TC Server 3.2中运行项目

时间:2019-02-19 15:30:03

标签: java tomcat spring-tool-suite tcserver pivotal-tc

当我尝试在STS的服务器上运行项目时,它显示的窗口为this

STS中的错误,例如:

java.lang.Error: org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[-1]]
    at org.apache.catalina.startup.Catalina.load(Catalina.java:641)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:661)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:309)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[-1]]
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:638)
    ... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [StandardService[Catalina]]
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
    at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
    ... 8 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[org.apache.coyote.http11.Http11AprProtocol-8080]]
    at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
    ... 10 more

我怀疑端口8080是否被其他程序使用并尝试使用this,但未返回任何结果。还能做什么呢?

1 个答案:

答案 0 :(得分:0)

通过创建this图片中的实例时仅选择padding_mask模板已解决了问题