【发布时间】:2018-02-26 06:20:36
【问题描述】:
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)
当我更改 tomcat 端口时出现此错误“Tomcat 启动失败,关闭端口 8005 已在使用中。”
【问题讨论】:
-
您是否尝试在 server.xml(您在此处显示的文件)中搜索 8005?
-
可能是某个进程卡住了。请参阅this question了解如何杀死它。 Deployment error:Starting of Tomcat failed, the server port 8080 is already in use