-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Julien Martin opened SPR-12013 and commented
I use the following libraries:
- Spring Framework 4.1.0.BUILD-SNAPSHOT
- Spring Security 4.0.0.M1
- Thymeleaf 2.1.3.RELEASE
- Thymeleaf thymeleaf-extras-tiles2-spring4 2.1.1.RELEASE
- Thymeleaf thymeleaf-extras-springsecurity3 2.1.1.RELEASE
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.
Affects: 4.1 RC1
Reference URL: thymeleaf/thymeleaf-spring#64
Issue Links:
- Spring 4.1 with WebMvcConfigurationSupport enabled does not register a default view resolver [SPR-12267] #16872 Spring 4.1 with WebMvcConfigurationSupport enabled does not register a default view resolver
Referenced from: commits 9092102
0 votes, 5 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug