Enumeration<URL> urls;
try {
urls = classLoader.getResources(path);
while (urls.hasMoreElements()) {
URL url = urls.nextElement();
Resource resource = new UrlResource(url);
PropertiesLoaderUtils.fillProperties(properties, resource);
}
} catch (IOException e) {
throw new IllegalArgumentException(
"IOException load class path properties[" + path + "]!", e);