问题描述:
org.springframework.web.servlet.PageNotFound noHandlerFound
WARNING: No mapping found for HTTP request with URI [/tyrone-wallet/tally/details] in DispatcherServlet with name 'springServlet'
截图:
解决方案:
springMVC的配置文件加入以下配置:
<mvc:annotation-driven />

本文解决了一个Spring MVC应用中出现的PageNotFound错误。该问题表现为无法找到对应的URL映射,导致页面请求失败。通过在Spring MVC配置文件中加入<mvc:annotation-driven/>标签,成功解决了此问题。
32

被折叠的 条评论
为什么被折叠?



