-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: HibernateTransactionManager not found
PostPosted: Tue Oct 18, 2005 8:03 am 
Hibernate version: 3.0

Full stack trace of any exception that occurs: 2005-10-18 13:55:01 StandardContext[/Oscar]Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'OscarTransactionManager' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: Class that bean class [org.springframework.orm.hibernate.HibernateTransactionManager] depends on not found; nested exception is java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException

---------------------------------

Bonjour,

Je cherche à faire une application basée sur Struts-Spring-Hibernate. Je pense avoir bien tout fait quand je reçois cette erreur (voir ci-dessus)

Quelqu'un peut-il m'aider ?

Merci


Top
  
 
 Post subject:
PostPosted: Tue Oct 18, 2005 9:10 am 
Senior
Senior

Joined: Tue May 10, 2005 9:00 am
Posts: 125
Quote:
java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException


Hibernate 3.0 contient des packages en org.hibernate.
Les références à net.sf.hibernate sont des références à hibernate 2.x
Je crois que tu as installé les libraries hibernate 3.0 alors que ton framework dépend de hibernate 2.x. Installe hibernate 2.x


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.