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

expection coming

 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I just started working with Hibernate and i am refering tutorial at
On Java.com,But when i run the program i get following error.

could not instantiate CacheProvider: net.sf.ehcache.hibernate.Provider

Can some one put some light on this,what this expection is.

Regards,

James
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
finally it worked after setting following jars in classpath :-

hibernate2.jar
dom4j.jar
ehcache-0.9.jar
cglib-full-2.0.2.jar
commons-collections.jar
xml-apis.jar;
jta.jar;

And hibernate.jar was added already.

Regards,

James
[ August 25, 2004: Message edited by: james edwin ]
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start : Tomcat + Hibernate

http://www.hibernate.org/hib_docs/reference/en/html/quickstart.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic