hello again...
i try mapping my orders collection in my customer class via hibernate one-to-many association. but get following error. everything from spring dependencies is included in my classpath, hibernate2.jar as well.
the customer class holds simply a java.util.Set with the customers. both tables workung fine without mapping them together.Code:java.lang.ExceptionInInitializerError Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/odmg/DSet
the interesting part of the mapping file is the following:
any idea, why hibernate searches for a standard java Set and gives a NoClassDefFoundError?Code:<set name="orders"> <key column="CUSTOMER_ID"/> <one-to-many class="Order"/> </set>


Reply With Quote