Tomcat启动失败,关闭端口8005已在使用中

时间:2017-09-17 17:37:20

标签: tomcat port

ant -f C:\\Users\\authentic\\Documents\\NetBeansProjects\\WebApplication3 -Dnb.internal.action.name=run -Ddirectory.deployment.supported=true -DforceRedeploy=false -Dnb.wait.for.caches=true -Dbrowser.context=C:\\Users\\authentic\\Documents\\NetBeansProjects\\WebApplication3 run
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting of Tomcat failed, the shutdown port 8005 is already in use.
C:\Users\authentic\Documents\NetBeansProjects\WebApplication3\nbproject\build-impl.xml:1045: Deployment error: Starting of Tomcat failed, the shutdown port 8005 is already in use.
See the server log for details.
BUILD FAILED (total time: 2 seconds)

enter image description here

当我更改tomcat端口时收到此错误“Tomcat启动失败,关闭端口8005已被使用。”

1 个答案:

答案 0 :(得分:0)

将关机端口号更改为8006或8004。对我有用 在NetBeans的工具->服务器->关机端口上对其进行修改