在eclipse中新建tomcat7,完成后tomcat能够正常启动,但是浏览器问题localhost:8080访问不了。

解决方法如下:

双击eclipse中服务器中的tomcat

eclipse 启动tomcat后 页面无法访问tomcat首页

出现tomcat的配置界面

eclipse 启动tomcat后 页面无法访问tomcat首页

 

然后Server Locations中选择如图,将Deploy path选择到tomcat目录中的webapps目录,然后保存,重启tomcat后,问题解决。

相关文章:

  • 2022-02-07
  • 2021-11-19
  • 2021-05-23
  • 2021-04-14
  • 2021-11-20
猜你喜欢
  • 2021-09-02
  • 2022-12-23
  • 2021-09-18
  • 2021-09-03
  • 2021-10-25
相关资源
相似解决方案