Announcement Announcement Module
Collapse
No announcement yet.
getting ClassDefNotFound on BulkBeanExcetion? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • getting ClassDefNotFound on BulkBeanExcetion?

    hi..

    hibernate throws ClassDefNotFound on this excption , when i'm trying trying to use hbm2ddl the attached xml,
    u'll notice the class is extended on some implementation which uses 3 properties of the supertype, is this allowed?

  • #2
    Looks like you're missing the CGLIB jar in your classpath. Hibernate is dependent on CGLIB.
    HTH

    Cheers,
    Andreas Wurzer

    Comment


    • #3
      It would be useful to see the exception you're getting, but as Andreas said it does sound CGLIB is the issue.

      Comment


      • #4
        you were right , i did miss the cglib jar, (i thought i had it earlier), anway not it creates the schema, but the table is unchanged, i thought i would have some foriegn key references to my record but i don't, so what design should i use many-to-one?

        Comment


        • #5
          Any chance you provide more details about what you are doing and also more about what the problem is you are having. Posting some code and configuration helps.

          Comment


          • #6
            i'm attempting to persist a class which actually represents a field, the field (n it's abstract class level) which contains a number value which identifies it's type, as well as a either a string or numeric values (in the sub classes) which contain the actuall values.
            problem is that i also have 'field' which contains a composite types of the same type, i have period field which contains 3 fields ,interval(in months), from date, to date, all which inherit from the same abstract type, so i have period field which inherits from abstractTypeBo, that contains 3 types which also inherit from the same type.

            Comment

            Working...
            X