Browse Source
Prior to this commit, RequestMappingViewResolutionIntegrationTests invoked the following: configurer.setTemplateLoaderPath( "classpath*:org/springframework/web/reactive/view/freemarker/"); However, that configuration is invalid since `classpath*:` is not supported for a `templateLoaderPath`. Despite that, the tests still passed since FreeMarkerConfigurer already registers a new ClassTemplateLoader(FreeMarkerConfigurer.class, ""), which automatically finds template files in the same package as FreeMarkerConfigurer (for the "spring.ftl" macro library support) and coincidentally RequestMappingViewResolutionIntegrationTests as well (which resides in the same package). This commit therefore removes the invalid configuration and adds a comment to explain what's going on.pull/33350/head
1 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue