问题描述
严重:Errorinitializingendpointjava.net.SocketException:UnrecognizedWindowsSocketserror:0:JVM_Bindatjava.net.PlainSocketImpl.socketBind(NativeMethod)atjava.net.PlainSocketImpl.bind(UnknownSource)atjava.net.ServerSocket.bind(UnknownSource)atjava.net.ServerSocket.<init>(UnknownSource)atjava.net.ServerSocket.<init>(UnknownSource)atorg.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)atorg.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)atorg.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)atorg.apache.catalina.connector.Connector.initialize(Connector.java:1014)atorg.apache.catalina.core.StandardService.initialize(StandardService.java:680)atorg.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)atorg.apache.catalina.startup.Catalina.load(Catalina.java:524)atorg.apache.catalina.startup.Catalina.load(Catalina.java:548)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2010-12-1412:30:29org.apache.catalina.startup.Catalinaload严重:Catalina.startLifecycleException:Protocolhandlerinitializationfailed:java.net.SocketException:UnrecognizedWindowsSocketserror:0:JVM_Bindatorg.apache.catalina.connector.Connector.initialize(Connector.java:1016)atorg.apache.catalina.core.StandardService.initialize(StandardService.java:680)atorg.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)atorg.apache.catalina.startup.Catalina.load(Catalina.java:524)atorg.apache.catalina.startup.Catalina.load(Catalina.java:548)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2010-12-1412:30:29org.apache.catalina.startup.Catalinaload信息:Initializationprocessedin1023ms2010-12-1412:30:29org.apache.catalina.core.StandardServicestart信息:StartingserviceCatalina2010-12-1412:30:29org.apache.catalina.core.StandardEnginestart信息:StartingServletEngine:ApacheTomcat/6.0.292010-12-1412:30:29org.apache.catalina.startup.HostConfigdeployDescriptor信息:Deployingconfigurationdescriptormanager.xml2010-12-1412:30:29org.apache.catalina.startup.HostConfigdeployDirectory信息:Deployingwebapplicationdirectorydocs2010-12-1412:30:29org.apache.catalina.startup.HostConfigdeployDirectory信息:DeployingwebapplicationdirectoryROOT2010-12-1412:30:30org.apache.coyote.http11.Http11Protocolstart严重:Errorstartingendpointjava.net.SocketException:UnrecognizedWindowsSocketserror:0:JVM_Bindatjava.net.PlainSocketImpl.socketBind(NativeMethod)atjava.net.PlainSocketImpl.bind(UnknownSource)atjava.net.ServerSocket.bind(UnknownSource)atjava.net.ServerSocket.<init>(UnknownSource)atjava.net.ServerSocket.<init>(UnknownSource)atorg.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)atorg.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)atorg.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565)atorg.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)atorg.apache.catalina.connector.Connector.start(Connector.java:1087)atorg.apache.catalina.core.StandardService.start(StandardService.java:534)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:710)atorg.apache.catalina.startup.Catalina.start(Catalina.java:581)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)2010-12-1412:30:30org.apache.catalina.startup.Catalinastart严重:Catalina.start:LifecycleException:service.getName():"Catalina";Protocolhandlerstartfailed:java.net.SocketException:UnrecognizedWindowsSocketserror:0:JVM_Bindatorg.apache.catalina.connector.Connector.start(Connector.java:1094)atorg.apache.catalina.core.StandardService.start(StandardService.java:534)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:710)atorg.apache.catalina.startup.Catalina.start(Catalina.java:581)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)2010-12-1412:30:30org.apache.catalina.startup.Catalinastart信息:Serverstartupin997ms2010-12-1412:30:30org.apache.catalina.core.StandardServerawait严重:StandardServer.await:create[8005]:java.net.BindException:Addressalreadyinuse:JVM_Bindatjava.net.PlainSocketImpl.socketBind(NativeMethod)atjava.net.PlainSocketImpl.bind(UnknownSource)atjava.net.ServerSocket.bind(UnknownSource)atjava.net.ServerSocket.<init>(UnknownSource)atorg.apache.catalina.core.StandardServer.await(StandardServer.java:373)atorg.apache.catalina.startup.Catalina.await(Catalina.java:662)atorg.apache.catalina.startup.Catalina.start(Catalina.java:614)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
解决方案
解决方案二:
tomcat换一个端口?或者换一个jdk
解决方案三:
这个不是断口的问题,好像是你的jdk版本和猫的版本不兼容~
解决方案四:
你不会是用myeclipse自带的tomcat吧重新配置一个tomcat选择你的JRE路径
解决方案五:
如果不是端口冲突的话,那么你打开任务管理器,看是否进程项里面已经有了一个“tomcat.exe”的进程,结束它在启动就没问题了~~