Hint: This may be the result of an unspecified view, due to default view name generation.)]
来源:互联网 发布:论持久战的影响知乎 编辑:程序博客网 时间:2024/05/18 13:09
严重: Servlet.service() for servlet [springmvc] in context with path [/blog] threw exception [Circular view path [showArticleType]: would dispatch back to the current handler URL [/blog/showArticleType] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)] with root cause
javax.servlet.ServletException: Circular view path [showArticleType]: would dispatch back to the current handler URL [/blog/showArticleType] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
在开发时尽量不要自己注册如:
- <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"/>
- <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter">
尽量使用
- <mvc:annotation-driven/>
它设计的已经足够好,使用子元素可以配置我们需要的配置。
且不要使用老版本的:
- <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>
- <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
否则可能得到如下异常:
写道
Circular view path [login]: would dispatch back to the current handler URL [/spring4/login] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
0 0
- Hint: This may be the result of an unspecified view, due to default view name generation.)]
- This may be due to a corruption of the heap
- This may be due to a corruption of the heap!
- Use MFC in a Static Library,This may be due to a corruption of the heap....
- Inteface Buidler can't determine the type of "xx.xib" this may be due to a missing SDK.
- Error "The form cannot be rendered. This may be due to a misconfiguration......"的解决方案
- How to programmatically change the default view of an InfoPath form
- This may be due to a corruption of the heap, which indicates a bug in *.exe or any of the DLLs it has loaded.
- this may be due to a corruption of the heap, which indicates a bug in ... or any of the DLLs it has
- Failed to instantiate the default view controller
- Failed to instantiate the default view controller
- Failed to instantiate the default view controller
- Attempting to load the view of a view controller while it is deallocating is not allowed and may res
- Attempting to load the view of a view controller while it is deallocating is not allowed and may res
- XAMPP Error: Apache shutdown unexpectedly.This may be due to a blocked port, missing dependencies...
- XAMPP报错This may be due to a blocked port, missing dependencies
- hbase-default.xml file seems to be for an older version of HBase ,this version is 1.2.0
- Generation aborted due to errors detected during the verification of the model
- hdu 1241 Oil Deposits (dfs经典入门)
- oracle插入数据报ORA-00001:违反唯一约束条件
- 练习 2-3 编写函数 htoi(s),把由十六进制数字组成的字符串(包含可选的前缀 0x 或 0X)转换为与之等价的整型值。字符串中允许包含的数字包括:0~9、a~f 以及 A~F。
- Struts2框架详细用法第一课
- shell脚本定时重启tomcat
- Hint: This may be the result of an unspecified view, due to default view name generation.)]
- springMVC中直接访问controller404
- dijkstra+dfs模板
- ubuntu 14.04 安装qq 2015
- 网站的安全校验
- 万用头文件#include<bits/stdc++.h>
- 处理listview的滑动冲突
- ZooKeeper客户端--java实现
- 免费织梦wap手机网站模板下载