Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying Out Hiberbate:Error "Cannot resolve the NoCacheProvider", when configuring hibernate.cfg.xml

 
Nimu Chox
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,

Could you please help?


Error "Cannot resolve NoCacheProvider" .....I think I am supposed to install the jars for NoCacheProvider Class but I dont know how to install them....please help.

Error occuring on this line----<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>

Below is hibernate.cfg.xml file that I am configuring

 
Anayonkar Shivalkar
Bartender
Posts: 1557
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nimu Chox,

Welcome to CodeRanch!

Please CarefullyChooseOneForum. There's a dedicate forum for hibernate and other mapping frameworks. As of now, you can request the forum admin to transfer this thread to that forum (instead of starting a new thread there).
 
Nimu Chox
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just realized that "NoCacheProvider" is depracated in Hibernate4...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic