当前位置: 代码迷 >> J2SE >> 还是Eclipse 启动Tomcat 错误!高手来看看啊困绕几天了!
  详细解决方案

还是Eclipse 启动Tomcat 错误!高手来看看啊困绕几天了!

热度:21   发布时间:2016-04-24 14:39:23.0
还是Eclipse 启动Tomcat 异常!!高手来看看啊!困绕几天了!!!
按下Tomcat启动按钮后就出来下面的信息:


严重:   Error   initializing   endpoint
java.net.BindException:   Address   already   in   use:   JVM_Bind:8080
at   org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
at   org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
at   org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
at   org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at   org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:523)
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:266)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
2007-7-4   23:14:13   org.apache.catalina.startup.Catalina   load
严重:   Catalina.start
LifecycleException:     Protocol   handler   initialization   failed:   java.net.BindException:   Address   already   in   use:   JVM_Bind:8080
at   org.apache.catalina.connector.Connector.initialize(Connector.java:1018)
at   org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at   org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:523)
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:266)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
2007-7-4   23:14:13   org.apache.catalina.startup.Catalina   load
信息:   Initialization   processed   in   1062   ms
2007-7-4   23:14:13   org.apache.catalina.core.StandardService   start
信息:   Starting   service   Catalina
2007-7-4   23:14:13   org.apache.catalina.core.StandardEngine   start
信息:   Starting   Servlet   Engine:   Apache   Tomcat/5.5.17
2007-7-4   23:14:13   org.apache.catalina.core.StandardHost   start
信息:   XML   validation   disabled
2007-7-4   23:14:14   org.apache.tomcat.util.digester.Digester   fatalError
严重:   Parse   Fatal   Error   at   line   1   column   3:   The   processing   instruction   must   begin   with   the   name   of   the   target.
org.xml.sax.SAXParseException:   The   processing   instruction   must   begin   with   the   name   of   the   target.
at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown   Source)
at   com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown   Source)
at   com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown   Source)
  相关解决方案