Caused by:org.springframework.beans.BeanInstantiationException:
Could not instantiate Bean class [org.hibernate.cfg.AnnotationConfiguration]: Constructor threw exception; Nested exception is Java.lang.NoSuchFieldError:INSTANCE
Online Search for reasons, The original is to go to the WebApps in Tomcat to delete the project's Hibernate-annotations.jar;hibernate-commons-annotations.jar; Keep Hibernate3.jar on the line.
However, since the user libraries removed the conflict jar, restart the service is still reported the same error, this because the Tomcat server WebApps directory in the project under the Lib directory is still a conflicting jar file, so the restart is still reported the same error,
Workaround: Tomcat server to remove the deployment, redeploy it again, no problem.
Could not instantiate Bean class after SSH configuration is started [org.hibernate.cfg.AnnotationConfiguration