Merge pull request #16341 from koziolk

* pr/16341:
  Add missing class condition on thymeleaf-spring5
pull/16472/head
Stephane Nicoll 6 years ago
commit c6aaa3b715

@ -77,7 +77,7 @@ import org.springframework.web.servlet.resource.ResourceUrlEncodingFilter;
*/
@Configuration
@EnableConfigurationProperties(ThymeleafProperties.class)
@ConditionalOnClass(TemplateMode.class)
@ConditionalOnClass({ TemplateMode.class, SpringTemplateEngine.class })
@AutoConfigureAfter({ WebMvcAutoConfiguration.class, WebFluxAutoConfiguration.class })
public class ThymeleafAutoConfiguration {

Loading…
Cancel
Save