解决IDEA导入maven工程运行报错Error running 'index.jsp (2)': Address localhost:1099 is already in use
解决Error running 'index.jsp (2)': Address localhost:1099 is already in use的方法是:
1、打开cmd 输入netstat -ano找到对应的1099端口
之后打tasklist查看哪个程序占用该端口,
找到就去任务管理器找到相应的进程把它关掉
再去IDEA运行tomcat就好了。
2.快捷方法:出现Address localhost:1099 is already in use的主要原因是tomcat的端口被占用了,或者是你上次运行时没有关掉该tomcat端口,所以直接去到tomcat安装目录下的bin文件下点击shutdown.bat直接关掉tomcat
再去IDEA运行就不会报该错误了。