java连TOMCAT报错

来源:百度知道 编辑:UC知道 时间:2024/09/20 23:44:24
2008-9-4 9:51:36 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: D:\MyEclipse 6.0\bin;D:\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_6.0.1.zmyeclipse601200710\tomcat\bin
2008-9-4 9:51:39 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.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.st

在cmd下运行netstat -ano,找到 8080端口对应的pid,然后在资源管理器里找到对应进程,结束。。重起tomcat。

接着http://localhost:8080/

8080端口被占用了 你在哪改的端口 是不是改错了 配置文件里面定义了两个端口 你是不是把中断端口给改了

8080端口已经被绑定!

你的tomcat端口怎么更改的? 是在tomcat/conf/server.xml中改的吗? 大约90行左右有下列文字:
<Connector port="8080" 。。。> 然后你吧8080改成8888就可以了!
然后执行shutdown.exe一次 重启就好了

挖 这么复杂啊 我也不懂啊