码迷,mamicode.com
首页 > Web开发 > 详细

解决Error running 'index.jsp : Address localhost:1099 is already in use的方法

时间:2019-04-13 01:04:56      阅读:766      评论:0      收藏:0      [点我收藏+]

标签:运行   任务管理器   down   --   重启   local   bsp   stat   ready   

   晚上在idea中  启动服务器一次后 正常运行,但是改了注解配置后  报错,报错为Error running ‘index.jsp : Address localhost:1099 is already in use,意思为tomcat端口号被占用,

解决方案有两种

第一种 直接打开 tomcat  安装目录后   找到bin目录,运行shutdown.bat   强制关闭tomact   然后在idea 重启 后   就可以访问了

第二种 在命令行中 输入netstat -ano-----》找到对应的1099端口    之后打tasklist查看哪个程序占用该端口,找到就去任务管理器找到相应的进程把它关掉  然后重启tomcat 就可以了

解决Error running 'index.jsp : Address localhost:1099 is already in use的方法

标签:运行   任务管理器   down   --   重启   local   bsp   stat   ready   

原文地址:https://www.cnblogs.com/lijun6/p/10699378.html

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