eclipse启动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.

背景介绍:web项目发布到tomcat服务器后,启动时报错

解决步骤:

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

猜你喜欢

转载自blog.csdn.net/Lyh_2015/article/details/81204804

相关文章