JBoss Community

Re: Please help me solve this problem i have with hibernate tools.Thanks

created by Geo George in JBoss Tools - View the full discussion

I am positive.And i have double checked

I have just installed  a clean eclipse indigo 3.7.2 ( rhis one- http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-modeling-indigo-SR2-win32.zip) and a new workspace +added hibernate tools via eclipse "install new software " option. I have not yet added the hibernate 3.6.10 jars to the build path. Just the jdbc4 jar for postgres 9.0 ( the newest jar version i found for my pg). i got the following error after trying to generate hibernate mapping files from a new databse.

i get the following error

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/objectweb/asm/Type
  org/objectweb/asm/Type
java.lang.NoClassDefFoundError: org/objectweb/asm/Type
org/objectweb/asm/Type
    java.lang.ClassNotFoundException: org.objectweb.asm.Type
    org.objectweb.asm.Type

 


 

Here's how my proj  looked like when i got the error

http://img11.imageshack.us/img11/9076/ss20120625263721.png

if i add the other jars like  in the next picture

http://img542.imageshack.us/img542/4963/ss20120625255021.png

i get the following error:

 

org.hibernate.console.HibernateConsoleRuntimeException: 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: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository

  Could not initialize class org.hibernate.cfg.reveng.OverrideRepository

    java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository

    Could not initialize class org.hibernate.cfg.reveng.OverrideRepository

 


Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community