• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

[Spring][JPA][Hibernate] NoSuchBeanDefinitionException: No qualifying bean of type [hib.SessionFacto

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ALL
Sorry for my english I leave in french zone ;)
I use Hibernate SessionManager but now i decide to migrate vers JPA for having acces to fonctionality like @PreUpdated @PreCreated ...

I make this parameters but i have this mistake.


I show you what i've done
this is my files

persistence.xml


applicationContext-dao.xml


applicationContext-ressources.xml


applicationContext.xml


SfdDao.java


GenericDao.java


You have to know that GenericDAOImpl provide from genericDAO library https://code.google.com/p/generic-dao/

I show his code


Thanks for your help.
 
Ranch Hand
Posts: 499
Spring AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amadou Lamine Kebe,

Remove the ("sfdDao") after @Repository in your SfdDao class and try running the code.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic