简体   繁体   English

Tomcat启动,但无法在具有URL http:// localhost:8080的浏览器上打开主页

[英]Tomcat starts but Home Page does NOT open on browser with URL http://localhost:8080

在此处输入图片说明 Tomcat starts but Home Page does NOT open on browser with URL http://localhost:8080 Tomcat启动,但无法在具有URL http:// localhost:8080的浏览器上打开主页

I was running Apache Tomcat from Eclipse and while accessing URL http://localhost:8080 found HTTP Status 404 – Not Found error. 我从Eclipse运行Apache Tomcat,并且访问URL http:// localhost:8080时发现HTTP状态404 –未找到错误。

Description: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. 说明:原始服务器找不到目标资源的当前表示,或者不愿意透露该资源的存在。

Tomcat starts but doesn't display webpage. Tomcat启动,但不显示网页。 What can be wrong with tomcat? Tomcat有什么问题?

Production Tomcat has a ROOT application deployed for that by default. 生产Tomcat默认情况下已为此部署了ROOT应用程序。 When launching from Eclipse, only your own projects are deployed. 从Eclipse启动时,仅部署您自己的项目。

https://wiki.eclipse.org/WTP_Tomcat_FAQ#If_I_start_my_Tomcat_server_and_try_to_display_Tomcat.27s_default_page.2C_why_do_I_see_a_directory_listing_or_404_error_page.3F https://wiki.eclipse.org/WTP_Tomcat_FAQ#If_I_start_my_Tomcat_server_and_try_to_display_Tomcat.27s_default_page.2C_why_do_I_see_a_directory_listing_or_404_error_page.3F

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM