猿问

eclipse中启动tomcat失败

严重: Failed to initialize component [Connector[AJP/1.3-8009]]

org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:935)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:530)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:852)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.startup.Catalina.load(Catalina.java:633)

at org.apache.catalina.startup.Catalina.load(Catalina.java:656)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:306)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:491)

Caused by: java.io.IOException: Unable to establish loopback connection

at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)

at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.nio.ch.PipeImpl.<init>(Unknown Source)

at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)

at java.nio.channels.Pipe.open(Unknown Source)

at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)

at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector(NioSelectorPool.java:66)

at org.apache.tomcat.util.net.NioSelectorPool.open(NioSelectorPool.java:130)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:218)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1043)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:540)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:932)

... 13 more

Caused by: java.io.IOException: 远程主机强迫关闭了一个现有的连接。

at sun.nio.ch.SocketDispatcher.read0(Native Method)

at sun.nio.ch.SocketDispatcher.read(Unknown Source)

at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)

at sun.nio.ch.IOUtil.read(Unknown Source)

at sun.nio.ch.SocketChannelImpl.read(Unknown Source)

at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source)

... 28 more

不是啥项目,就是新建的dynamic web project,想启动下tomcat结果一直失败。。。

之前都没这个问题...求解阿

慕丝0699092
浏览 1169回答 1
1回答

冰封一切1

会不会是端口号的问题?亦或者是tomcat环境?
随时随地看视频慕课网APP

相关分类

Java
我要回答