pull/6456/head
Phillip Webb 8 years ago
parent b615070535
commit 254b099bfd

@ -54,8 +54,8 @@ public class BeanNotOfRequiredTypeFailureAnalyzer
"The bean '%s' could not be injected as a '%s' because it is a " "The bean '%s' could not be injected as a '%s' because it is a "
+ "JDK dynamic proxy that implements:%n", + "JDK dynamic proxy that implements:%n",
ex.getBeanName(), ex.getRequiredType().getName()); ex.getBeanName(), ex.getRequiredType().getName());
for (Class<?> iface : ex.getRequiredType().getInterfaces()) { for (Class<?> requiredTypeInterface : ex.getRequiredType().getInterfaces()) {
printer.println("\t" + iface.getName()); printer.println("\t" + requiredTypeInterface.getName());
} }
return description.toString(); return description.toString();
} }

Loading…
Cancel
Save