Netbeans Apache tomcat启动失败

Netbeans Apache tomcat启动失败,netbeans,Netbeans,我一直在使用netbeans…直到昨天晚上它才开始工作,但现在我甚至不能运行一个简单的代码,它在输出屏幕上显示以下注释 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 server port 8084 is already

我一直在使用netbeans…直到昨天晚上它才开始工作,但现在我甚至不能运行一个简单的代码,它在输出屏幕上显示以下注释

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 server port 8084 is already in use.
D:\Dhivya\Job\calculator\payodaproject\nbproject\build-impl.xml:683: Deployment error:
Starting of Tomcat failed, the server port 8084 is already in use.
See the server log for details.
BUILD FAILED (total time: 3 seconds)

首先,这不是一个建设性的问题,因为显然缺乏研究。您没有提到是否试图查明是否有任何进程正在使用端口8084。您可以使用netstat命令来解决这个问题。

这通常发生在Tomcat进程已经在运行,并且由于任何原因Netbeans无法看到它,并且尝试启动另一个进程时。您必须手动终止Tomcat进程,然后Netbeans将能够再次启动它。

对于端口8084来说,这是Netbeans的一个bug,几乎没有办法解决它。一种是从安装中的apachetomcat/bin文件夹中删除tcnative-1.dll。有关更多信息,请访问。

您需要释放端口8084。