看你最后一个截图,localhost 的 8005 端口已被占用。tomcat 服务没有起来。
可以修改 conf/server.xml 搜索其中的 8005 ,换个其他的端口试试。如果可能的话,把 http 的端口也换一个试试。
好的,谢谢,我试试
换了端口以后是这样的情况,早之前就试过换端口,也是这种情况。在网上搜过一些方法但还是不行
在window上部署成功过,没有出现问题
能发一下这个日志文件吗?
这个日志里面有关键的两句,需要查其他相关日志:
08-Nov-2021 17:52:40.509 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
08-Nov-2021 17:52:40.513 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/app] startup failed due to previous errors
你看看 localhost 开头的日志有没有什么有用信息?
谢谢你,昨天那个服务器过期了,找不到了。今天上午我用新的服务器系统重新部署,已经部署成功。