• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic