vue+No mapping found for HTTP request with URI [*//**] in DispatcherServlet with name ‘springMvc‘
程序员文章站
2022-07-15 13:38:32
...
No mapping found for HTTP request with URI [*/**] in DispatcherServlet with name ‘springMvc’
如果遇到这个问题,那么这里出问题了vue.config.js
前端请求路径是对的,发现springMvc报这个错误
No mapping found for HTTP request with URI [*//**] in DispatcherServlet with name 'springMvc'
URI里面多了一个 /
那么你就要看看配置的代理是否存在这个问题:
“path”:{
...
},
"pathOther":{
}
解决办法:
要么去掉path
要么改变接口名
要么换个位置
看完了不如动手试试吧。
上一篇: 异常java.lang.IllegalArgumentException: Validation failed for query for method public abstract
下一篇: PAT 乙级 1047 编程团体赛
推荐阅读
-
No mapping found for HTTP request with URI [/springmvc-1/springmvc/testParamsAndHeaders] in Dispatch
-
vue+No mapping found for HTTP request with URI [*//**] in DispatcherServlet with name ‘springMvc‘
-
异常记录二:寻求解决异常 !No mapping found for HTTP request with URI
-
如何解决“ No mapping found for HTTP request with URI [XXX] in DispatcherServlet with name 'XXX' ”
-
警告: No mapping found for HTTP request with URI [/springmvc-01/helloworld] in DispatcherServlet with
-
No mapping found for HTTP request with URI [/xxx/xxx] in DispatcherServlet with name 'xxx'
-
No mapping found for HTTP request with URI [...] in DispatcherServlet with name ‘DispatcherServlet‘
-
No mapping found for HTTP request with URI [***.html] in DispatcherServlet with name "***"
-
No mapping found for HTTP request with URI [/HelloWeb/] in DispatcherServlet with name 'HelloWeb...
-
No mapping found for HTTP request with URI [/app17a/] in DispatcherServlet with name 'springmvc'解决方法