Java. lang. nosuchmethoderror: javax. persistence. SPI. persistenceunitinfo. the error message of getvalidationmode () ljavax/persistence/validationmode cannot be solved. It is known that this is a hibernate bug only after reading the community on the spring official website, this is because the new version of Hibernate is used (here I am using hibernate 3.6), with javaee. the JPA interface in jar conflicts. Solution: Remove myeclipse comes with javaee package, self-built user libraries, add javaee jsf-api.jar jsf-impl.jar jstl-1.2.jar package, and then add tomcat in the servlet-api.jar is actually javaee. jar with tomcat in the servlet-api.jar to replace, this problem is solved.
This article is to use b3log solo from smiled to see the distance for Synchronous publishing original address: http://jiangzezhou.appspot.com/articles/2011/06/04/1307172300000.html