-->
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: No TransactionManagerLookup specified
PostPosted: Wed Feb 16, 2011 8:41 am 
Newbie

Joined: Tue Mar 24, 2009 3:14 pm
Posts: 6
Location: Leeuwarden, Netherlands
Hi,

I'm currently changing a project nature from Eclipse WTP to a maven project. While running the code I get a
Code:
org.hibernate.HibernateException: No TransactionManagerLookup specified
error. The code runs without errors in Eclipse WTP. I don't use JTA because I have no need of it, and Tomcat doesn't support it natively. No matter if I use
Code:
HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction()
or
Code:
HibernateUtil.getSessionFactory().openSession();
both result in the same error. Am I missing a maven dependency? I googled around, but couldn't find an answer


Top
 Profile  
 
 Post subject: Re: No TransactionManagerLookup specified
PostPosted: Wed Feb 16, 2011 9:41 am 
Newbie

Joined: Tue Mar 24, 2009 3:14 pm
Posts: 6
Location: Leeuwarden, Netherlands
Solved.. I fiddled a bit around with my exclusions et voila


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.