Use classpath*: to ensure all binders are located

This commit is contained in:
Dave Syer
2016-01-24 14:48:16 +00:00
parent 205d9c1a84
commit a3a15fb69e

View File

@@ -57,7 +57,7 @@ public class StreamEnvironmentPostProcessor implements EnvironmentPostProcessor
resourceLoader);
try {
for (Resource resource : resolver
.getResources("classpath:META-INF/spring.binders")) {
.getResources("classpath*:META-INF/spring.binders")) {
for (String binderType : parseBinderConfigurations(resource)) {
addHeaders(map, binderType);
}