当前位置: 代码迷 >> J2EE >> MyEclipse内置Tomcat有关问题
  详细解决方案

MyEclipse内置Tomcat有关问题

热度:22   发布时间:2016-04-22 00:56:45.0
MyEclipse内置Tomcat问题
我刚把装了MyEclipse8.5安装了起来。
问题1: 每次启动 MyEclipse 都提示我购买注册码, 我已经在网上搜索到了注册码,并也注册完成,但每次重新启动就又
要我注册
问题2: 我启动了MyEclipse的内置MyTomcat发现报错
 
Java code
严重: Error initializing endpointjava.net.BindException: Address already in use: JVM_Bind:8080    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)    at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)    at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)    at org.apache.catalina.startup.Catalina.load(Catalina.java:518)    at org.apache.catalina.startup.Catalina.load(Catalina.java:538)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)2012-7-31 15:05:24 org.apache.catalina.startup.Catalina load严重: Catalina.startLifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080    at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)    at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)    at org.apache.catalina.startup.Catalina.load(Catalina.java:518)    at org.apache.catalina.startup.Catalina.load(Catalina.java:538)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)2012-7-31 15:05:24 org.apache.catalina.startup.Catalina load信息: Initialization processed in 558 ms2012-7-31 15:05:24 org.apache.catalina.core.StandardService start信息: Starting service Catalina2012-7-31 15:05:24 org.apache.catalina.core.StandardEngine start信息: Starting Servlet Engine: Apache Tomcat/6.0.132012-7-31 15:05:24 org.apache.coyote.http11.Http11Protocol start严重: Error starting endpointjava.net.BindException: Address already in use: JVM_Bind:8080    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)    at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:204)    at org.apache.catalina.connector.Connector.start(Connector.java:1132)    at org.apache.catalina.core.StandardService.start(StandardService.java:531)    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2012-7-31 15:05:24 org.apache.catalina.startup.Catalina start严重: Catalina.start: LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080    at org.apache.catalina.connector.Connector.start(Connector.java:1139)    at org.apache.catalina.core.StandardService.start(StandardService.java:531)    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2012-7-31 15:05:24 org.apache.catalina.startup.Catalina start信息: Server startup in 99 ms
  相关解决方案