We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 370a4ee commit 0ac04a7Copy full SHA for 0ac04a7
spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java
@@ -322,7 +322,8 @@ else if (requiredType != null) {
322
// requested (indicated by required type), not for depends-on cascades.
323
throw new BeanCreationException(mbd.getResourceDescription(), beanName,
324
"Failed to initialize dependency '" + ex.getBeanName() + "' of " +
325
- requiredType.getSimpleName() + " bean '" + beanName + "'", ex);
+ requiredType.getSimpleName() + " bean '" + beanName + "': " +
326
+ ex.getMessage(), ex);
327
}
328
throw ex;
329
0 commit comments