@ -697,10 +698,16 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
@@ -697,10 +698,16 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
logger.debug("Cannot search for matching files underneath "+rootDirResource+
" in the file system: "+ex.getMessage());
}
returnCollections.emptySet();
}
catch(Exceptionex){
if(logger.isInfoEnabled()){
logger.info("Cannot search for matching files underneath "+rootDirResource+
" because it does not correspond to a directory in the file system",ex);
logger.info("Failed to resolve "+rootDirResource+" in the file system: "+ex);
}
returnCollections.emptySet();
}
@ -755,7 +762,7 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
@@ -755,7 +762,7 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
}
if(!rootDir.canRead()){
if(logger.isInfoEnabled()){
logger.info("Cannot search for matching files underneath directory ["+rootDir.getAbsolutePath()+
logger.info("Skipping search for matching files underneath directory ["+rootDir.getAbsolutePath()+
"] because the application is not allowed to read the directory");