This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2712
    
    5

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
 
Similar Threads
Solve this error
Facing problem in running JUnit test cases on code with Spring Annotations
Issue in annotating DAO using spring 3.0
war file failed to deploy
Problem in Hibernate/Spring Annotations