From 151fad898bd296ffd7fa9eae5a57f63b4e9b4c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Windm=C3=BCller?= Date: Mon, 26 Nov 2018 22:19:42 +0100 Subject: [PATCH] Document workaround for conflicting Thymeleaf dependency (#3291) Fixes gh-3290 --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 0ad291bea..891ddeca5 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -335,6 +335,16 @@ This section describes how to set up a Eureka server. To include Eureka Server in your project, use the starter with a group ID of `org.springframework.cloud` and an artifact ID of `spring-cloud-starter-netflix-eureka-server`. See the http://projects.spring.io/spring-cloud/[Spring Cloud Project page] for details on setting up your build system with the current Spring Cloud Release Train. +NOTE: If your project already uses Thymeleaf as its template engine, the Freemarker templates of the Eureka server may not be loaded correctly. In this case it is necessary to configure the template loader manually: + +.application.yml +---- +spring: + freemarker: + template-loader-path: classpath:/templates/ + prefer-file-system-access: false +---- + [[spring-cloud-running-eureka-server]] === How to Run a Eureka Server