
1.报错的结果
报错Address localhost:1099 is already in use 意思就是: 地址localhost:1099已被使用
2.报错原因
1.tomcat的端口已经被使用,与运行的起了冲突 2.短时间内频繁运行tomcat服务器。
3.解决方法
1.win+R,打开命令提示符框,输入cmd,进入命令提示符
2.黑窗口输入netstat -aon | findstr 1099,找到占用1099端口的进程ID:PID

3.输入taskkill -f -pid PID

4.重启Tomcat即可