Women in Technology

Hear us Roar



Article:
  Hibernate Your Data
Subject:   java.lang.NoClassDefFoundError: org/dom4j/Attribute?
Date:   2004-06-02 12:34:24
From:   sssss1
Response to: java.lang.NoClassDefFoundError: org/dom4j/Attribute?

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,
Scott

Full Threads Newest First

Showing messages 1 through 6 of 6.

  • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
    2004-07-30 11:13:52  regis2004 [View]

    I get the same error too? How did you resolve it?

    All the jar files under <my-hibernate-dir>/lib are in the classpath. Am i missing something here...

    Thanks,
    • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
      2004-08-06 13:04:54  hiber [View]

      Hello There,

      Have you resolved this issue yet? I got the same error message when running the program. I DO have dom4j-1.4.jar file in hibernate.2.1\lib directory. Could you be able to help me identify this issue?

      Thanks in advance!

      tom
      • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
        2004-08-24 20:53:17  DeepakAdlakha [View]

        I got the same error and when i add dom4j.jar in classpath.It error got resolved.

        Regards,

        Deepak
        • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
          2005-08-21 02:18:21  yhjxse [View]

          though i add the dom4j-1.4.jar to class-path ,it still wrong:java.lang.NoClassDefFoundError: org/dom4j/Attribute

          who can help me,thank you,

          my msn is:yhjxse@mail.china.com
      • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
        2004-08-24 20:53:29  DeepakAdlakha [View]

        I got the same error and when i add dom4j.jar in classpath.This error got resolved.

        Regards,

        Deepak
  • java.lang.NoClassDefFoundError: org/dom4j/Attribute?
    2005-01-27 04:56:23  saM [View]

    hi

    even after setting the class path of dom4j am still getting the error "classnotfound - org/dom4j/Attribute"

    Can sombody please help me in solving the same

    Thanks
    Sameer