1 Gen hiber config –> Ok
2 Gen reveng file –> Ok
3 Running hibernate code config crash: org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
java.lang.NoClassDefFoundError: org/apache/commons/collections/MultiMap
org/apache/commons/collections/MultiMap
java.lang.ClassNotFoundException: org.apache.commons.collections.MultiMap cannot be found by org.jboss.tools.hibernate.runtime.v_5_1_5.0.1.Final-v20160331-1852-B88
org.apache.commons.collections.MultiMap cannot be found by org.jboss.tools.hibernate.runtime.v_5_1_5.0.1.Final-v20160331-1852-B88
*And I checked that class not founded is in my classpath (is reachable from source code)
*Triying to avoid conflicts, i removed all possible conflicts, using a minimal configuration (keeping only essentials lib in my classpath: hibernate core and mysql driver ) Neither worked
Also installing complete version of last JBoss Tools (with all its features -not only Hibernate Tools) via Elcipse MarketPlace. Neither worked
解决方案:将hibernate包换成4.2的。