Hi All,
 
    I am trying to invoke implement the persistence mechanism through Hibernate 2.1 from a Stateless Session Bean.
    So i start of like this..
        SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
This results in a error as follows...
 
Problem compiling class: "org/objectweb/asm/util/TraceClassVisitor" reason: unable to locate this .class file
        Called From:    net/sf/cglib/core/DebuggingClassWriter$1
        Called From:    net/sf/cglib/core/DebuggingClassWriter
        Called From:    net/sf/cglib/core/DefaultGeneratorStrategy
        Called From:    net/sf/cglib/core/AbstractClassGenerator
        Called From:    net/sf/cglib/beans/BulkBean$Generator
        Called From:    net/sf/cglib/beans/BulkBean
        Called From:    net/sf/hibernate/util/ReflectHelper
        Called From:    net/sf/hibernate/proxy/LazyInitializer
        Called From:    net/sf/hibernate/proxy/HibernateProxyHelper
        Called From:    net/sf/hibernate/Hibernate
        Called From:    net/sf/hibernate/type/PersistentCollectionType
        Called From:    net/sf/hibernate/collection/CollectionPersister
        Called From:    net/sf/hibernate/engine/Cascades
        Called From:    net/sf/hibernate/persister/ClassPersister
        Called From:    net/sf/hibernate/persister/Loadable
        Called From:    net/sf/hibernate/persister/Queryable
        Called From:    net/sf/hibernate/_expression_/AbstractCriterion
        Called From:    net/sf/hibernate/_expression_/Order
        Called From:    net/sf/hibernate/Criteria
        Called From:    net/sf/hibernate/Session
        Called From:    net/sf/hibernate/SessionFactory
        Called From:    net/sf/hibernate/engine/SessionFactoryImplementor
        Called From:    net/sf/hibernate/type/Type
        Called From:    net/sf/hibernate/util/ArrayHelper
        Called From:    net/sf/hibernate/exception/ExceptionUtils
        Called From:    net/sf/hibernate/exception/NestableDelegate
        Called From:    net/sf/hibernate/exception/NestableException
        Called From:    net/sf/hibernate/HibernateException
        Called From:    sampleParts/SampleUsersBean
Errors compiling HibernateApp.
All the jar files which have been unzipped from the hibernate.zip file are included in the classpath.
Can anyone please help me how do i overcome this problem.
Thanks in advance.
 
Regards
 
Srinivas
 

Reply via email to