Closed. This question is off-topic。它当前不接受答案。
想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
2年前关闭。
哟,我正在构建我的第一个Spring Web App。
当我尝试运行它(在服务器上)时,这是响应
TTP状态404 –找不到
类型状态报告
消息/ HelloWorld /
描述原始服务器找不到目标资源的当前表示,或者不愿意透露其存在。
等级制度
![spring - HTTP状态404-找不到-LMLPHP spring - HTTP状态404-找不到-LMLPHP]()
web.xml
![spring - HTTP状态404-找不到-LMLPHP spring - HTTP状态404-找不到-LMLPHP]()
dispatcher-servlet.xml
![spring - HTTP状态404-找不到-LMLPHP spring - HTTP状态404-找不到-LMLPHP]()
helloworld.jsp
![spring - HTTP状态404-找不到-LMLPHP spring - HTTP状态404-找不到-LMLPHP]()
控制者
想改善这个问题吗? Update the question,所以它是on-topic,用于堆栈溢出。
2年前关闭。
哟,我正在构建我的第一个Spring Web App。
当我尝试运行它(在服务器上)时,这是响应
TTP状态404 –找不到
类型状态报告
消息/ HelloWorld /
描述原始服务器找不到目标资源的当前表示,或者不愿意透露其存在。
等级制度
web.xml
dispatcher-servlet.xml
helloworld.jsp
控制者
最佳答案
找不到您从浏览器请求的页面,因此您需要在以下模式中添加url:
本地主机:(端口号)/项目名称/(控制器上的请求映射)/(方法上的请求映射)