My way, no Spring, used during a unit test:
URI uri = TestClass.class.getResource("/resources").toURI();
Path myPath = Paths.get(uri);
Stream walk = Files.walk(myPath, 1);
for (Iterator it = walk.iterator(); it.hasNext(); ) {
Path filename = it.next();
System.out.println(filename);
}