Could not resolve view with name 'sys/menu/user' in servlet with name 'dispatcher'
来源:互联网 发布:产品经理数据来源 编辑:程序博客网 时间:2024/06/01 23:29
这个报错有点坑儿。 他说该 路径不能被 springMVC dispatcher 拦截 ,仔细排查了下是这个注解搞的鬼 @RestController,
官方文档来说 》 @RestController = @Controller + @ResponseBody (它是传一个 json )
@Controller 他是会被拦截到页面 ,我当时用的就是这个,实际上我想要得到 json 数据,而不是 跳转 页面,所以出现下面错误!!!
HTTP Status 500 - Could not resolve view with name 'sys/menu/user' in servlet with name 'dispatcher'
阅读全文
0 0
- Could not resolve view with name 'sys/menu/user' in servlet with name 'dispatcher'
- Could not resolve view with name '***' in servlet with name 'dispatcher'
- javax.servlet.ServletException: Could not resolve view with name 'ok' in servlet with name 'spring'
- javax.servlet.ServletException: Could not resolve view with name 'xxxxx'in servlet with name 'xxx'
- javax.servlet.ServletException: Could not resolve view with name 'qq' in servlet with name 'WeiXin'
- javax.servlet.ServletException: Could not resolve view with name 'xxx' in servlet with name
- javax.servlet.ServletException: Could not resolve view with name 'xxxxx'in servlet with name 'xxx'
- Could not resolve view with name 'bok.html' in servlet with name 'spring'
- Could not resolve view with name 'ok' in servlet with name 'spring'
- Could not resolve view with name 'pcir/del' in servlet with name 'forum'
- Spring mvc-异常javax.servlet.ServletException: Could not resolve view with name 'xxx' in servlet with
- Could not resolve view with name
- Could not resolve view with name 'xxxxx‘
- javax.servlet.ServletException: Could not resolve view with name 'destination/isOtherExist' in servl
- springMVC+freemarker中Could not resolve view with name... 问题解决
- Spring mvc 4.0+freemarker抛javax.servlet.ServletException: Could not resolve view with name
- Spring 4.0.2 + Apache Tiles 3.0.3 [Could not resolve view with name "xxx"]
- apache [error] (EAI 5)No address associated with hostname: Could not resolve host name
- DAY57 JavaScript基础2
- netty的简单介绍
- 2017.6.4测试 题三 字符串
- 草地排水 (码一下自己的网络流板子)
- 练习9
- Could not resolve view with name 'sys/menu/user' in servlet with name 'dispatcher'
- 间接修改Python字符串元素的三种方法
- Subllime Text3 如何设置Tab键自动转换为空格?
- hdu4185 二分图之最大匹配
- SQL查询和优化(八)
- [Python]深拷贝效率
- Python判断文件是否存在的三种方法
- API学习包装类Long
- java设计模式--工厂模式