我的xampp tomcat实例没有启动,但localhost:8080正常工作。我的xampp控制面板看起来像
Problem detected!
9:37:45 PM [Tomcat] Port 8080 in use by "C:\xampp\apache\bin\httpd.exe"!
9:37:45 PM [Tomcat] Tomcat WILL NOT start without the configured ports free!
9:37:45 PM [Tomcat] You need to uninstall/disable/reconfigure the blocking application
9:37:45 PM [Tomcat] or reconfigure Tomcat and the Control Panel to listen on a different port
答案 0 :(得分:0)
您的问题是Apache模块正在使用端口8080
。因此,Tomcat不能使用相同的端口。
您有以下可能性:
80
而不是8080
。8080
。答案 1 :(得分:0)
Tomcat Started/Stopped with errors, return code: 1
Make sure you have Java JDK or JRE installed and the required ports are free
Check the "/xampp/tomcat/logs" folder for more information
如何从Xampp中的tomcat修复启动的catalina?
也许您的问题出在文件catalina_start.bat中 我在此文件中找到了JDK的损坏的路径注册表:
Line 12: set KeyName=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
更改为:
Line 12: set KeyName=HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK
现在是它的工作服务器tomcat