错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is: java.net.BindException: Address already in use: JVM_Bind

错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is: java.net.BindException: Address already in use: JVM_Bind


###在使用SpringMVC测试的时候, 遇到了这样一个问题, 说的是端口已经被使用了

代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099

端口被占用

解决方案:

1.查找出占用进程id

2.杀死进程

命令:

第一步: netstat -ano|findstr 1099
第二步: taskkill -f -pid 4836

原文地址:https://www.cnblogs.com/xianyao/p/11614259.html