下载对应tomcat8版本到本地后,在eclipse中添加tomcat8的对应目录,输入http://localhost:8080时无法显示tomcat的index.jsp页面(会显示404页面)。原因:Eclipse发布路径重定向了,没有放到Tomcat下的webapp中。

    解决方法:在Eclipse的Server窗口中双击Tomcat v8.0,出现配置界面,选中“Use Tomcat installation(takes control of tomcat installation)”,并且将部署路径修改为webapps:

    eclipse neon配置tomcat8无法显示默认页面解决方法

 

相关文章:

  • 2021-07-14
  • 2021-08-23
  • 2021-04-17
  • 2021-12-03
  • 2022-02-06
  • 2021-11-11
  • 2021-09-06
  • 2022-02-13
猜你喜欢
  • 2021-06-23
  • 2022-12-23
  • 2021-09-03
  • 2022-02-24
  • 2022-03-07
  • 2021-06-07
相关资源
相似解决方案