源服务器未能找到目标资源的表示 idea,Tomcat错误“源服务器未找到目标资源的当前表示,或不愿意透露其存在。”...

我正在创建一个Web应用,尝试运行“ http://localhost:8080/”时出现错误

HTTP Status 404 – Not Found

Type Status Report

Message Not found

Description The origin server did not find a current representation for

the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.20

web.xml

xmlns="http://xmlns.jcp.org/xml/ns/javaee"

xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee

http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"

id="WebApp_ID" version="3.1"

>

searchServlet

com.incidents.cashout.CurlExecutor

searchServlet

/servlet

index.jsp

getInputs.html

我尝试使用其他解决方案,但似乎都不起作用。任何帮助将不胜感激