I'm using :
PathMatchingResourcePatternResolver rr = new ...;
rr.getResources("classpath*:**/*.class")
to get all the classes from the classpath that is made of directories and jars. The call returns only classes from the directories; JAR files are ignored. The following call returns classes from JARs :
rr.getResources("classpath*:org/**/*.class")
Is that possible to get all the classes without knowing the base package name ?