Skip to content

Commit

Permalink
Merge branch '2.6.x' into 2.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Aug 25, 2022
2 parents 4ade897 + adc4e05 commit e31c295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void checkTemplateLocationExists() {
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)");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ private void checkTemplateLocationExists() {
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)");
}
}
}
Expand Down

0 comments on commit e31c295

Please sign in to comment.