[hibernate-issues] [Hibernate-JIRA] Deleted: (HHH-2856) Class that bean class [org.springframework.orm.hibernate.HibernateTemplate] depends on not found; nested exception is java.lang.NoClasse.HibernateTemplate] depends on not found; nested exception is java.lang.NoClass

Christian Bauer (JIRA) noreply at atlassian.com
Fri Sep 21 03:26:14 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Bauer deleted HHH-2856:
---------------------------------


> Class that bean class [org.springframework.orm.hibernate.HibernateTemplate] depends on not found; nested exception is java.lang.NoClasse.HibernateTemplate] depends on not found; nested exception is java.lang.NoClass
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-2856
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2856
>             Project: Hibernate3
>          Issue Type: New Feature
>         Environment: Hibernate v3.2.0, Spring, HSQLDB
>            Reporter: chandra sekhar
>   Original Estimate: 3 days
>  Remaining Estimate: 3 days
>
> Hi,
>   I'm using Hibernate v3.2.0 integrated with Spring framework. I'm trying to access through  HibernateTemplate(org.springframework.orm.hibernate.HibernateTemplate) for which i've mentioned a bean in my spring-servlet.xml as below.
>                   <bean id="hibernateTemplate" class="org.springframework.orm.hibernate.HibernateTemplate">
> 		<property name="sessionFactory">
> 			<ref bean="sessionFactory"/>
> 		</property>
> 	</bean>
> i've deployed this application on tomcat and when i restart the tomcat server. the following error is coming.
> org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB-INF/employee-servlet.xml]: Class that bean class org.springframework.orm.hibernate.HibernateTemplate] depends on not found; nested exception is java.lang.NoClass
> DefFoundError: net/sf/hibernate/HibernateException
> java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
> what i found out was HibernateException class is present in or/hibernate package in hibernate3.jar. Can anyone please help me out of this?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list