无法 运行 pivotal tc server 3.2 中的项目
Unable to run the project in pivotal tc server 3.2
当我在 STS 的服务器上尝试我的项目 运行 时,它显示 window 为 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,但没有任何返回。还可以为此做些什么?
创建实例时仅选择base
模板解决了问题,如this图片
当我在 STS 的服务器上尝试我的项目 运行 时,它显示 window 为 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,但没有任何返回。还可以为此做些什么?
创建实例时仅选择base
模板解决了问题,如this图片