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 已在使用中。”
最佳答案
将关闭端口号更改为 8006 或 8004。对我有用 在 NetBeans 中通过“工具”->“服务器”->“关闭端口”进行更改
关于tomcat - Tomcat启动失败,关闭端口8005已被使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46266986/