Error running ‘Tomcat x.x.xx‘: Address localhost:xxxx is already in use

2021/9/22 6:11:00

本文主要是介绍Error running ‘Tomcat x.x.xx‘: Address localhost:xxxx is already in use,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

运行web项目时候提示Address localhost:xxxx is already in used
但是并没有在其他应用中占用自己的端口号
怀疑是之前web项目的Tomcat并没有被关闭一直占用该端口
解决方式
在运行web项目前去tomcat/bin目录下运行shutdown.bat脚本关闭tomcat,再直接运行web项目
在这里插入图片描述



这篇关于Error running ‘Tomcat x.x.xx‘: Address localhost:xxxx is already in use的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程