Error creating bean with name and singleton bean is not allowed

When I execute code through JUnit test case, I receive the following exception

Can anyone suggest possible problems?

Thank you, Ben Kathir

Solution

Go to this thread

I suppose you have the same problem around you It sets up Java_ The home path is resolved, update the JDK to version 7 and try to restart the server (solution)

I think it can solve your problem

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>