You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume we need to collect the resources matching the classpath*:/**/*.xml pattern in a Spring Boot application. As of 1.4, two root urls will be used for the search:
The former is the one used by the LaunchedUrlClassLoader and the latter is used by the system classloader. Because we asked to search "everything", the system classloader finds the resource again, leading to a duplication. Arguably, the system classloader must ignore anything in BOOT-INF since it is managed by the LaunchedUrlClassLoader already.