Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

expection coming  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!