Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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





You have to know that GenericDAOImpl provide from genericDAO library

I show his code

Thanks for your help.
Ranch Hand
Posts: 499
Spring AngularJS Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amadou Lamine Kebe,

Remove the ("sfdDao") after @Repository in your SfdDao class and try running the code.
    Bookmark Topic Watch Topic
  • New Topic