I am getting the following exception when I execute the code via JUnit Test Case
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name ‘somarFactory’: Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
Could someone advise what might be the issues?
I assume that you too have the same issue around there..
It got solved by setting the
And Updating your JDK to version 7 and try restarting your server..(solution)
I think that could solve your issue..