eclipse中启动tomcat错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse中启动tomcat错误相关的知识,希望对你有一定的参考价值。

2010-1-31 22:36:31 org.apache.catalina.core.AprLifecycleListener init 信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.6.0_10\bin;C:\Tomcat 6.0\bin 2010-1-31 22:36:31 org.apache.coyote.http11.Http11Protocol init 严重: Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind:3322 at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175) at org.apache.catalina.connector.Connector.initialize(Connector.java:1059) at org.apache.catalina.core.StandardService.initialize(StandardService.java:578) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792) at org.apache.catalina.startup.Catalina.load(Catalina.java:504) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) 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) 2010-1-31 22:36:31 org.apache.catalina.startup.Catalina load 严重: Catalina.start LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:3322 at org.apache.catalina.connector.Connector.initialize(Connector.java:1061) at org.apache.catalina.core.StandardService.initialize(StandardService.java:578) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792) at org.apache.catalina.startup.Catalina.load(Catalina.java:504) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) 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) 2010-1-31 22:36:31 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 438 ms 2010-1-31 22:36:31 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2010-1-31 22:36:31 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.10 2010-1-31 22:36:32 org.apache.coyote.http11.Http11Protocol start 严重: Error starting endpoint java.net.BindException: Address already in use: JVM_Bind:3322

参考技术A 1、首先确认eclipse是jee版或者安装了相应的插件
2、打开window---preferences---server---runtime
environments中添加tomcat
3、打开Java
EE的工作界面,在eclipse右上角处点击带有加号图标可以切换
4,、在下面的选项卡中切换到servers,右键就可以启动tomcat
ps:这时候如果你部署了项目就可以访问了,但是会无法访问tomcat的欢迎页,可以通过双击server...
1、首先确认eclipse是jee版或者安装了相应的插件
2、打开window---preferences---server---runtime
environments中添加tomcat
3、打开Java
EE的工作界面,在eclipse右上角处点击带有加号图标可以切换
4,、在下面的选项卡中切换到servers,右键就可以启动tomcat
ps:这时候如果你部署了项目就可以访问了,但是会无法访问tomcat的欢迎页,可以通过双击servers中tomcat,在打开的界面中server
location中选择第二项use
tomcat....,然后保存,重启tomcat,就可以访问tomcat的欢迎页了
全部

以上是关于eclipse中启动tomcat错误的主要内容,如果未能解决你的问题,请参考以下文章

eclipse 中启动Tomcat超时了错误

启动Eclipse中Tomcat遇见的错误一

Tomca启动脚本遇到的坑

eclipse中启动tomcat出现错误: 找不到或无法加载主类 org.apache.tomcat.startup.Main

Eclipse启动tomcat后404错误

eclipse中tomcat无法正常启动求助