码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2019-09-30 23:54:35      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:net   pre   cep   tst   export   异常   exp   mic   方案   

错误: 代理抛出异常错误: 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

技术图片

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

标签:net   pre   cep   tst   export   异常   exp   mic   方案   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!