SpringMVC:No mapping found for HTTP request with URI [/account/*] in DispatcherServlet with

虾米哥 阅读:637 2021-03-31 21:32:36 评论:0

问题描述:No mapping found for HTTP request with URI [/account/*] in DispatcherServlet with name "spring-servlet"

问题解决办法:

 <!-- 启动SpringMVC的注解功能,它会自动注册HandlerMapping、HandlerAdapter、ExceptionResolver的相-->       
    <mvc:annotation-driven />  



声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

关注我们

一个IT知识分享的公众号