eclipse启动tomcat服务器报错解决

目录

一、web项目发布到tomcat启动报错

二、eclipse启动Maven项目报错


一、web项目发布到tomcat启动报错

错误信息:Illegal access: this web application instance has been stopped already.Could not load .  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.

解决步骤:

1.选中服务器右键stop,然后Add and Remove从服务器中移除项目,最后clean清理服务器

2. 点击导航栏Project按钮,取消自动编译功能,然后clean项目

3.选中项目右键Build Project 手动编译,然后打开自动编译,最后重新发布到服务器

 

二、eclipse启动Maven项目报错

错误信息:严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind <null>:8080

错误分析:报错提示8080端口已经被使用,其实是上次启动tomcat服务器没有关闭

解决方案:启动windows任务管理器,将进程javaw.exe关掉

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页