PDA

View Full Version : STS - Spring 3 - Hibernate - Tomcat - With Maven



uzumaki
Jan 17th, 2011, 03:28 PM
Hi all, I try to run the tutorial in this page:

http://viralpatel.net/blogs/2010/11/spring3-mvc-hibernate-maven-tutorial-eclipse-example.html

but I obtain this error:


Error creating bean with name 'sessionFactory' defined in ServletContext resource ...

I have a doubt! Can I run this code on Tomcat? In general, I can handle the persistence with Hibernat on Tomcat? If you like? Thanks all!

Marten Deinum
Jan 18th, 2011, 04:53 AM
Post full stacktrace, there is no problem in tomcat or whatever server you use...