File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes expection coming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "expection coming " Watch "expection coming " New topic
Author

expection coming

james edwin
Ranch Hand

Joined: Nov 22, 2001
Posts: 393
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


Regards,
James
james edwin
Ranch Hand

Joined: Nov 22, 2001
Posts: 393
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

Joined: Jul 04, 2003
Posts: 1312
Start : Tomcat + Hibernate

http://www.hibernate.org/hib_docs/reference/en/html/quickstart.html


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
GeeCON Prague 2014
 
subject: expection coming