Solve the problem that Tomcat can't start (8005 port is occupied)

xiaoxiao2021-04-02  241

Eclise started Tomcat, finally appeared

StandardServer.await: create [8005]: java.net.BindException: Address already in use: JVM_Bindjava.net.BindException: Address already in use: JVM_Bindat java.net.PlainSocketImpl.socketBind (Native Method) at java.net.PlainSocketImpl. Bind (Plainsocketimpl.java: 331) at java.net.serversocket.bind (Serversocket.java: 318) at java.net.serversocket. (serversocket.java: 185) at Org.Apache.catalina.core.StandardServer .await (StandardServer.java: 496) at Org.apache.catalina.startup.catalina.Await (Catalina.java: 619) At Org.Apache.catalina.startup.catalina.start (Catalina.java: 579) 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: 324 )t org.apache.catalina.startup.bootstrap.Start (Bootstrap.java: 287) at Org.Apache.catalina.startup.bootstrap.Main (Bootstrap.java: 425)

Solution:

It may be that Tomcat has been started, and you must first restart Tomcat before first.

转载请注明原文地址:https://www.9cbs.com/read-131340.html

New Post(0)