• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
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.
 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic