|
|
|
@ -484,6 +484,8 @@ public abstract class AbstractApplicationContext extends DefaultResourceLoader |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
catch (BeansException ex) { |
|
|
|
catch (BeansException ex) { |
|
|
|
|
|
|
|
logger.warn("Exception encountered during context initialization - cancelling refresh attempt", ex); |
|
|
|
|
|
|
|
|
|
|
|
// Destroy already created singletons to avoid dangling resources.
|
|
|
|
// Destroy already created singletons to avoid dangling resources.
|
|
|
|
destroyBeans(); |
|
|
|
destroyBeans(); |
|
|
|
|
|
|
|
|
|
|
|
|