When I use Hibernate with Latest ibatis DAO I get this error:

java.lang.NoClassDefFoundError: net/sf/hibernate/cfg/Configuration

Can I use this version of Hibernate?
Here is a part of daomap.xml file:
******************
<context id="hibernatemap">
                <transactionManager type="HIBERNATE">
                <property name="JDBC.Driver" value="com.ibm.db2.jcc.DB2Driver"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.DB2Dialect"/> <property name="hibernate.connection.driver_class" value="com.ibm.db2.jcc.DB2Driver"/>
                        <property name="hibernate.connection.datasource" 
value="jdbc/SAMPLE"/>
                        <property name="class.1" 
value="com.sample.contact.Contact" />
                </transactionManager>
                <dao interface="com.sample.contact.dao.ContactDAO"
                        
implementation="com.sample.contact.dao.hibernate.HibernateContactDAO" />
        </context>
******************
Any help is appreciated. Thank you,

"The more you strive for humanity, the more civilized you become" -ASHA

Harinder Nandyala
http://www.ashakiran.org


Reply via email to