当前位置:网站首页>threw exception [Circular view path [index]: would dispatch back to the current handler URL [/index]
threw exception [Circular view path [index]: would dispatch back to the current handler URL [/index]
2022-07-24 14:09:00 【Autumn 9】
【 The phenomenon 】
2022-07-23 14:54:31.191 [http-nio-8080-exec-9] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,175] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [index]: would dispatch back to the current handler URL [/index] 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 [index]: would dispatch back to the current handler URL [/index] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
at org.springframework.web.servlet.view.InternalResourceView.prepareForRendering(InternalResourceView.java:210)
at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:148)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:317)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1373)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
【 resolvent 】
@RequestMapping({"/index"})
public ModelAndView index(String key) throws Exception {
this.logger.debug(" Go to the search page ");
ModelAndView mav = this.getModelAndView("index");
mav.addObject("keyword", key);
this.logger.debug("" + mav);
return mav;
}It is amended as follows :
@RequestMapping({"/home"})
public ModelAndView index(String key) throws Exception {
this.logger.debug(" Go to the search page ");
ModelAndView mav = this.getModelAndView("index");
mav.addObject("keyword", key);
this.logger.debug("" + mav);
return mav;
}边栏推荐
- JS get object attribute value
- SQL server startup and shutdown job script
- R语言tidyr包的gather函数将从宽表转化为长表(宽表转化为长表)、第一个参数指定原多个数据列名称生成的新数据列名称、第二个参数指定原表内容值、第三个和第四个参数通过列索引指定不变的列名称列表
- Ggarrange function of R language ggpubr package combines multiple images and annotates them_ Figure add annotation, annotation, annotation information for the combined image, and add annotation inform
- Mini examination - examination system
- The gather function of tidyr package of R language converts a wide table into a long table (a wide table into a long table), the first parameter specifies the name of the new data column generated by
- 微信小程序 TODO案例
- Error importing header file to PCH
- Solve the problem that uni starter can log in to wechat with local functions, but fails to log in with cloud functions
- Statistical table of competition time and host school information of 2022 national vocational college skills competition (the second batch)
猜你喜欢

北京一卡通以35288.8529万元挂牌出让68.45%股权,溢价率为84%

Network security - error injection

天然气潮流计算matlab程序

Source code analysis of ArrayList
![[C language note sharing] - dynamic memory management malloc, free, calloc, realloc, flexible array](/img/3f/35c9ff3be5c0ef781ffcb537287a20.png)
[C language note sharing] - dynamic memory management malloc, free, calloc, realloc, flexible array

看完这篇文章,才发现我的测试用例写的就是垃圾

2022.7.22 simulation match
![[oauth2] IV. oauth2authorizationrequestredirectfilter](/img/42/fff83a8d477e2f2d07d1f5ad4e4405.png)
[oauth2] IV. oauth2authorizationrequestredirectfilter
![The solution to the error of [installation detects that the primary IP address of the system is the address assigned by DHCP] when installing Oracle10g under win7](/img/25/aa9bcb6483bb9aa12ac3730cd87368.png)
The solution to the error of [installation detects that the primary IP address of the system is the address assigned by DHCP] when installing Oracle10g under win7
![[untitled]](/img/67/793d1fd7c295f0af9f683ffa389757.png)
[untitled]
随机推荐
The fourth edition of probability and mathematical statistics of Zhejiang University proves that the absolute value of the correlation coefficient of random variables X and Y is less than 1, and some
Uni app background audio will not be played after the screen is turned off or returned to the desktop
How to quickly wrap lines in Excel table
The R language uses the sort function to sort vector data and return the actually sorted data (ascending by default)
R language test sample proportion: use the prop.test function to perform a single sample proportion test to calculate the confidence interval of the p value of the successful sample proportion in the
Nessus安全测试工具使用教程
Flinktable & SQL (VI)
CSP2021 T1 廊桥分配
The fourth edition of Zhejiang University probability proves that the uncorrelation of normal distribution random variables is equivalent to independence
Cocoapod installation problems
R语言epiDisplay包的kap函数计算Kappa统计量的值(总一致性、期望一致性)、对多个评分对象的结果进行一致性分析、评分的类别为多个类别、如果评分中包含缺失值则标准误及其相关统计量则无法计算
R语言使用epiDisplay包的statStack函数基于因子变量通过分层的方式查看连续变量的统计量(均值、中位数等)以及对应的假设检验、对连续数据进行对数化之后符合参数检验条件自动执行参数检验
Flink comprehensive case (IX)
Rhcsa sixth note
Ggarrange function of R language ggpubr package combines multiple images and annotates them_ Figure add annotation, annotation, annotation information for the combined image, and add annotation inform
XSS white list
TypeError: 'str' object does not support item assignment
Solve the problem of repeated clicking of button uibutton
R语言使用epiDisplay包的dotplot函数通过点图的形式可视化不同区间数据点的频率、使用by参数指定分组参数可视化不同分组的点图分布、使用cex.Y.axis参数指定Y轴分组标签文本的大小
The latest and complete Flink series tutorials in 2021_ Preliminary exploration of Flink principle and flow batch integration API (II. V) V2