eclipse启动tomcat服务器报错解决

发布于:2023-07-04 ⋅ 阅读:(94) ⋅ 点赞:(0)

目录

一、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关掉

本文含有隐藏内容,请 开通VIP 后查看

网站公告

今日签到

点亮在社区的每一天
去签到