Results 1 to 6 of 6

Thread: getting ClassDefNotFound on BulkBeanExcetion?

  1. #1
    Join Date
    Jul 2006
    Posts
    154

    Unhappy 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?
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2006
    Location
    Salzburg, AT
    Posts
    21

    Default

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

    Cheers,
    Andreas Wurzer
    Andreas Wurzer
    andeee's Blog

  3. #3
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

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

  4. #4
    Join Date
    Jul 2006
    Posts
    154

    Default

    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?

  5. #5
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    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.

  6. #6
    Join Date
    Jul 2006
    Posts
    154

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •