Server Tomcat v7.0 Server at localhost failed to start.

1. Open the Servers Tab from Windows>Show View>Servers menu

(打开servers窗口)

2.Right click on the server and delete it

(删除)

3.Create a new server by going New>Server on Server Tab

(创建新的server)

4.Click on “Configure runtime environments…” link

(创建的时候可以看大右下角有个Configure runtime environments 的连接,点击进去)

5.Select the Apache Tomcat v7.0 server and remove it. This will remove the Tomcat server configuration. This is where many people do mistake – they remove the server but do not remove the Runtime environment.

(删除原来的配置)

6.Click on OK and exit the screen above now.

(点击ok退出)

7.From the screen below, choose Apache Tomcat v7.0 server and click on next button:

(再重新选新的一个server)

8.Browse to Tomcat Installation Directory

9.Click on Next and choose which project you would like to deploy:

(选中要部署的项目)

10.Click on Finish after Adding your project

(点击finish)

Now launch your server. This will fix your Server timeout or any issues with old server configuration. This solution can also be used to fix “port update not being taking place” issues.**

我的问题是:按照上面做的还是会发生同一个错误,几次都是这样之后,我就把之前可以正常运行的项目部署到服务器上,错误没有再发生。证明:可能是我的这个项目有问题。不是部署的问题。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 人物: 程然 首师大教育技术系 想拯救中国儿童的教育梦想家,偷偷摸摸的理想主义者 李薇 T大药学 致力于假药事业,...
    巴人下鲤阅读 2,312评论 0 1
  • 对于特别崇尚仪式感的我来说,一年里的最后一天难免过得心惊胆战,不知道这过去的一年怎样究竟,这最后的一天能不能足够有...
    吉林市权红阅读 3,795评论 1 3
  • 姊妹呀,在哪里不一样都是基督徒吗?难道还分某某公司的基督徒吗?不会更有面子的。千百年来历代圣徒国外有,国内也有。在...
    切慕的deer阅读 1,558评论 0 0

友情链接更多精彩内容