Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TAKETODAY committed Apr 10, 2024
1 parent 49f3a61 commit 7734918
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ private void resolveResourceLocations() {
Resource resource = applicationContext.getResource(location);
if (location.equals("/")) {
throw new IllegalStateException("""
The String-based location \\"/\\" should be relative to the web application root but \
The String-based location "/" should be relative to the web application root but \
resolved to a Resource of type: %s. If this is intentional, please pass it as a pre-configured \
Resource via setLocations.""".formatted(resource.getClass()));
}
Expand Down

0 comments on commit 7734918

Please sign in to comment.