You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I have configured my view resolver as follows:
@Bean
public ThymeleafViewResolver viewResolver() {
ThymeleafViewResolver viewResolver = new ThymeleafViewResolver();
viewResolver.setViewClass(ThymeleafTilesView.class);
viewResolver.setTemplateEngine(templateEngine());
viewResolver.setCharacterEncoding("UTF-8");
return viewResolver;
}
and it seems the above view resolver is not found by Spring causing it to use the default "internal view resolver" and resulting in a circular view path error.
Please note that I am not sure whether this is a Spring or Thymeleaf issue and I have therefore opened an issue in Thymeleaf too.
This is most certainly related to the newly added support for configuring view resolution in the MVC config. Can you confirm that setting the order property to something like 0 makes it work again?
Julien Martin opened SPR-12013 and commented
I use the following libraries:
And I have configured my view resolver as follows:
and it seems the above view resolver is not found by Spring causing it to use the default "internal view resolver" and resulting in a circular view path error.
Please note that I am not sure whether this is a Spring or Thymeleaf issue and I have therefore opened an issue in Thymeleaf too.
Affects: 4.1 RC1
Reference URL: thymeleaf/thymeleaf-spring#64
Issue Links:
Referenced from: commits 9092102
0 votes, 5 watchers
The text was updated successfully, but these errors were encountered: