新建第一个web工程,运行老是出错,
2013-10-16 17:30:05 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:\Program Files\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Program Files\MyEclipse\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806\tomcat\bin
2013-10-16 17:30:05 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2013-10-16 17:30:05 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 507 ms
2013-10-16 17:30:05 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-10-16 17:30:05 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13
2013-10-16 17:30:05 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2013-10-16 17:30:05 org.apache.jk.common.ChannelSocket init
信息: Port busy 8009
java.net.BindException: Address already in use: JVM_Bind
2013-10-16 17:30:05 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8010
2013-10-16 17:30:05 org.apache.jk.server.JkMain start
信息: Jk running ID=1 time=0/31 config=null
2013-10-16 17:30:05 org.apache.catalina.startup.Catalina start
信息: Server startup in 245 ms
2013-10-16 17:30:05 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]:
java.net.
BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
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)
------解决方案--------------------看情况是你起了2个小猫。
------解决方案--------------------