Error running 'tom8': Address localhost:1099 is already in use 错误解决

运行“tom8”时出错:地址localhost:1099已在使用中解决:
1-cmd 执行命令:netstat -ano
Error running 'tom8': Address localhost:1099 is already in use 错误解决2-找到占用1099端口的PID 我这里是13396
Error running 'tom8': Address localhost:1099 is already in use 错误解决
3-再执行命令:tasklist 找到13396的进程是什么 —是java.exe
Error running 'tom8': Address localhost:1099 is already in use 错误解决
4-打开任务管理器查看进程 结束掉java.exe
Error running 'tom8': Address localhost:1099 is already in use 错误解决
5-重新启动服务器 即可。。。