wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Regarding 'BeanCreationException' in integration of Spring+Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Regarding Watch "Regarding New topic
Author

Regarding 'BeanCreationException' in integration of Spring+Hibernate

Rishi Java
Greenhorn

Joined: Jan 14, 2013
Posts: 1
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

Joined: Jun 06, 2007
Posts: 2716
    
    6

What explanation are you seeking? The stack trace looks quite explanatory.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding 'BeanCreationException' in integration of Spring+Hibernate