mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
parent
ccc80f39c7
commit
adc4e05eff
@ -64,7 +64,7 @@ public class FreeMarkerAutoConfiguration {
|
||||
if (locations.stream().noneMatch(this::locationExists)) {
|
||||
logger.warn("Cannot find template location(s): " + locations + " (please add some templates, "
|
||||
+ "check your FreeMarker configuration, or set "
|
||||
+ "spring.freemarker.checkTemplateLocation=false)");
|
||||
+ "spring.freemarker.check-template-location=false)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -101,8 +101,9 @@ public class ThymeleafAutoConfiguration {
|
||||
if (checkTemplateLocation) {
|
||||
TemplateLocation location = new TemplateLocation(this.properties.getPrefix());
|
||||
if (!location.exists(this.applicationContext)) {
|
||||
logger.warn("Cannot find template location: " + location + " (please add some templates or check "
|
||||
+ "your Thymeleaf configuration)");
|
||||
logger.warn("Cannot find template location: " + location
|
||||
+ " (please add some templates, check your Thymeleaf configuration, or set spring.thymeleaf."
|
||||
+ "check-template-location=false)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user