Java Tomcat服务器webapps

Java Tomcat服务器webapps,java,tomcat,Java,Tomcat,我安装了tomcat 9.0。当我运行localhost:8080时,它工作正常。在webapps文件夹下,我创建了Beer-V1文件夹和form.html文件。当我试图在浏览器中访问form.html文件时,它显示404错误。请帮助我plz如何访问form.html文件??(本地主机:8080/Beer-V1/form) 您点击的URL不正确,您缺少添加文件名为“form.html”的.html 它应该是localhost:8080/BeerV1/form.html 此外,您还可以参考基本的t

我安装了tomcat 9.0。当我运行localhost:8080时,它工作正常。在webapps文件夹下,我创建了Beer-V1文件夹和form.html文件。当我试图在浏览器中访问form.html文件时,它显示404错误。请帮助我plz如何访问form.html文件??(本地主机:8080/Beer-V1/form)


您点击的URL不正确,您缺少添加文件名为“form.html”的.html

它应该是localhost:8080/BeerV1/form.html


此外,您还可以参考基本的tomcat部署。

请提供。你的文件夹结构是什么?你的案件敏感性如何?如果什么都看不见,我们如何帮助?[C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\Beer-V1\form.html=文件夹结构]。。。。。。。。。。当我运行此[错误发生。显示此[请求的资源[/Beer-V1/form.html]不可用]……我已正确检查了区分大小写的内容……没有错误……可能是某种权限问题???您解决了问题吗?[C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\Beer-V1\form.html=文件夹结构]……当我运行此[localhost:8088/Beer-V1/form.html]时发生错误。显示[请求的资源[/Beer-V1/form.html]不可用]……我已经正确地检查了区分大小写的问题……没有错误……可能是某种权限问题???localhost:8088/Beer-V1/form.html-只是为了确认,您之前提到的8080端口,现在是8088。另外,尝试在webapps文件夹下创建index.html文件,看看是否正在运行。这样,您可以确认您的服务器没有任何端口问题,然后稍后在您的Beer-v1文件夹下检查。我已将端口更改为8088。localhost:8088和localhost/8088/docs正在运行,但在webapps下添加index.html后,它没有运行。[=404 errorplz ans我卡住了
Type Status Report

Message The requested resource [/Beer-V1/form] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.