Hibernate Your Data
Subject:   java.lang.NoClassDefFoundError: org/dom4j/Attribute?
Date:   2004-05-24 06:43:22
From:   thenrick
I have set up everything and compiled it in Eclipse and I am getting the following error.

java.lang.NoClassDefFoundError: org/dom4j/Attribute
at test.InsertProduct.main(
Exception in thread "main"

I am trying to run this like we do the first time with the parameters Milk 100 1.99. The messages listed look nothing like what I am seeing. Anyone seen this?

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
    2004-08-06 12:03:50  hiber [View]

    Could anybody give any hints on this issues. I defintely have all the hibernate's jar files in the lib directory, and still get this error.

    Thanks a lot!
  • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
    2004-06-02 12:34:24  sssss1 [View]

    I've seen that. About 30 minutes ago. You've got to get the jar files in hibernate/lib onto your classpath. There are a million of them. The hibernate docs have a list of which are really necessary, but you're missing at least the dom4j jar.

    Good luck,