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

  • 0
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值