• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to run Spring DHB examples

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I'm trying to run Spring Developer's Handbook examples.
I configured my own stuffs (dialet, URL, username, password ....)
But when trying to run the application, I got :
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rentaBike' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.MappingException: org.dom4j.DocumentException: hibernate.sf.net Nested exception: hibernate.sf.net
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.MappingException: org.dom4j.DocumentException: hibernate.sf.net Nested exception: hibernate.sf.net
I have validate the mapping files against the DTD files, and they are OK.
Any ideas ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic