日期:2014-05-18  浏览次数:20773 次

出了大问题,大家帮我看看
前几天     eclipse还蛮好的,这几天装了个oracle,编译jsp文件时发生这个错误
在tomcat   里输入     http://localhost:8080/     ,让我输用户名,我输对的,他还显示Unauthorized,晕死!

jsp编译后的错误   是
2007-3-24   9:55:49   org.apache.coyote.http11.Http11BaseProtocol   start
严重:   Error   starting   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.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
at   org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:150)
at   org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75)
at   org.apache.catalina.connector.Connector.start(Connector.java:1089)
at   org.apache.catalina.core.StandardService.start(StandardService.java:459)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:585)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007-3-24   9:55:49   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:1096)
at   org.apache.catalina.core.StandardService.start(StandardService.java:459)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:585)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007-3-24   9:55:49   org.apache.catalina.startup.Catalina   start
信息:   Server   startup   in   12609   ms



------解决方案--------------------
我的异常网推荐解决方案:java环境变量设置,http://www.aiyiweb.com/java-other/172921.html
------解决方案--------------------
重新设置java环境变量,oracle安装有自己的jdk,所以要在环境变量重新把你使用环境变量放在最前面。
------解决方案--------------------
Address already in use: JVM_Bind:8080

重装下tomcat, 改下你的tomcat的端口,试试