We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1682a commit 7621cc7Copy full SHA for 7621cc7
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceUrlProvider.java
@@ -208,7 +208,7 @@ public final String getForLookupPath(String lookupPath) {
208
ResourceResolverChain chain = new DefaultResourceResolverChain(handler.getResourceResolvers());
209
String resolved = chain.resolveUrlPath(pathWithinMapping, handler.getLocations());
210
if (resolved == null) {
211
- throw new IllegalStateException("Failed to get public resource URL path for " + pathWithinMapping);
+ continue;
212
}
213
if (logger.isTraceEnabled()) {
214
logger.trace("Resolved public resource URL path=\"" + resolved + "\"");
0 commit comments