Error creating bean with name and Singleton bean creation not allowed

Go to this thread

I assume that you too have the same issue around there.. It got solved by setting the JAVA_HOME path And Updating your JDK to version 7 and try restarting your server..(solution)

I think that could solve your issue..


In my case ,
I'm using multiple threads to call beans methods
and before finishing all threads
calling context.close()
made and throws this exception
with removing context.close
my problem solved.
hope useful


Check if you have more than one tomcat's instance.
if this is your case, shutdown all instance then open one and only one instance.
I hope that will help you

Tags:

Java

Spring