【发布时间】:2021-01-17 19:57:21
【问题描述】:
我安装 tomcat 9.0。当我运行 localhost:8080 它工作正常。在 webapps 文件夹下,我制作了 Beer-V1 文件夹并制作了 form.html 文件。当我尝试在浏览器中访问 form.html 文件时,它显示 404 错误。请帮助我如何访问 form.html 文件? (localhost:8080/Beer-V1/form)
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.
【问题讨论】:
-
请提供minimal reproducible example。你的文件夹结构是什么?你的区分大小写怎么样?如果我们什么也没看到,我们能提供什么帮助?
-
[C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\Beer-V1\form.html = 文件夹结构].......当我运行这个 [ localhost:8088/Beer-V1/form.html] 发生错误。显示此 [请求的资源 [/Beer-V1/form.html] 不可用].......我已经正确检查了区分大小写..没有错误......可能是某种权限问题?? ??
-
您的问题解决了吗?