Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding 'BeanCreationException' in integration of Spring+Hibernate

 
Rishi Java
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.jlcindia.spring.service.StudentService com.jlcindia.mvc.SearchController.studentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jlcindia.spring.dao.StudentDAO com.jlcindia.spring.service.StudentServiceImpl.studentDAO; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentDAO': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.springframework.orm.hibernate3.HibernateTemplate com.jlcindia.spring.dao.HibernateStudentDAO.htemp; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rishi' defined in ServletContext resource [/WEB-INF/jlcindia-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'sessionFactory' is required.

................. Any Explaination for this is Appreciated ............... Thanks .........
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What explanation are you seeking? The stack trace looks quite explanatory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic