3 Replies Latest reply on Jun 25, 2012 3:13 PM by Denis Golovin

    After installing hibernate-tools:  java.lang.NoClassDefFoundError: org/jboss/tools/common/java/IJavaMemberReference




      I wanted to create a ddl file using hibernate. This already works a charme when I let hibernate create my database directly by configuring the hibernate.hbm2ddl.auto in the persistence.xml. But I also need those ddl statements in a file.

      Surprisingly there is no simple property to add to the persistence.xml like there is for EclipseLink.


      Searching for the simplest solution to get this done I installed hibernate tools for Eclipse (using the update site). But right after restarting Eclipse it is complaining about a class that it can not find:

      java.lang.NoClassDefFoundError: org/jboss/tools/common/java/IJavaMemberReference


      This is the first of a series of errors that come up. (I think the other ones are susequent to this first one.)


      The message in eclipse is:

      Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".


      Attached is the complete Stacktrace in a text file.


      Does anyone have a hint for me what could be wrong or what I could check?

      Googling for this error or for the class IJavaMemberReference did not reveal much.