Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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: 1558
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...
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!