WARN PageNotFound:1120 - No mapping found for HTTP request with URI [/favicon.ico] in DispatcherServ
2018-03-06 16:20
5872 查看
报错:
WARN PageNotFound:1120 - No mapping found for HTTP request with URI [/favicon.ico] in DispatcherServlet with name 'taotao-sso'
原因:要返回的是数据不是具体的页面,需要在方法上加@ResponseBody
解决办法:在方法上加上注解@ResponseBody
@ResponseBody注解指返回的是数据而不是具体的页面
WARN PageNotFound:1120 - No mapping found for HTTP request with URI [/favicon.ico] in DispatcherServlet with name 'taotao-sso'
原因:要返回的是数据不是具体的页面,需要在方法上加@ResponseBody
解决办法:在方法上加上注解@ResponseBody
@ResponseBody注解指返回的是数据而不是具体的页面
相关文章推荐
- No mapping found for HTTP request with URI [/spring/WEB-INF/page/index.jsp] in DispatcherServlet with name 'spring'
- org.springframework.web.servlet.PageNotFound]-[WARN] No mapping found for HTTP request with URI [/re
- No mapping found for HTTP request with URI [/Demo/WEB-INF/page/login.jsp] in DispatcherServlet with
- No mapping found for HTTP request with URI [/SuperPowerfulProject/login.do] in DispatcherServlet wit
- WARNING: No mapping found for HTTP request with URI [/app/add] in DispatcherServlet with name '...'
- No mapping found for HTTP request with URI [/cwgl/department/index] in DispatcherServlet with name
- No mapping found for HTTP request with URI [/SuperPowerfulProject/login.do] in DispatcherServlet wit
- No mapping found for HTTP request with URI [/springmvc/queryitems.action] in DispatcherServlet with
- No mapping found for HTTP request with URI [/SpringMvc2/ItemList] in DispatcherServlet with name 'sp
- SSM报错:No mapping found for HTTP request with URI [/smbms/js/echarts.js] in DispatcherServlet with na
- No mapping found for HTTP request with URI [/test/first.jsp] in DispatcherServlet
- No mapping found for HTTP request with URI [/bdp/] in DispatcherServlet with name
- No mapping found for HTTP request with URI [/exam3/welcome.do] in DispatcherServlet with name 'XXX'
- No mapping found for HTTP request with URI [/app17a/] in DispatcherServlet with name 'springmvc'解决方法
- springMVC报WARNING: No mapping found for HTTP request with URI [/springMVC/hello] in DispatcherServle
- Spring MVC PageNotFound.noHandlerFound No mapping found for HTTP request with URI
- No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
- No mapping found for HTTP request with URI [/MessBoard/login/images/bg_1.jpg] in DispatcherServlet w
- No mapping found for HTTP request with URI [/item/536563] in DispatcherServlet with name 'taotao-man
- No mapping found for HTTP request with URI [/brand/findAll.do] in DispatcherServlet with name 'sprin