| Author |
Hibernate java.lang.ClassNotFoundException: javax.persistence.Cacheable
|
David Mbura
Ranch Hand
Joined: Apr 06, 2010
Posts: 65
|
|
Hello guys
I am working on a basic application with Hibernate 3.5,i m using JPA Annotations.I use Eclipse and everything running on jdk 1.6_u21.
Jar files from Hibernate are as follows
Hibernate3.jar
antlr
commons-collections
dom4j
javaassist
jta
slf4j
cglib
hibernate-annotations
ejb3-persistence
hibernate-common-annotations
log4j
slf4j-log4j12
and i am getting this exception
Thank you in advance
|
 |
dominic steward
Greenhorn
Joined: Sep 11, 2010
Posts: 1
|
|
I had same problem.
got it solved when i used hibernate-jpa-2.0-api-1.0.0.Final found at hibernate-distribution-3.5.3-Final\lib\jpa.
PS:i was using JPA (javax.persistence.Entity) annotation
|
 |
David Mbura
Ranch Hand
Joined: Apr 06, 2010
Posts: 65
|
|
|
Thanks dominic, it worked,i appreciate it!
|
 |
jatinkumar patel
Greenhorn
Joined: Apr 19, 2009
Posts: 23
|
|
|
Thanks Dominic it Helped.
|
 |
Amri Firdaus
Greenhorn
Joined: Jan 28, 2010
Posts: 4
|
|
thanks Dominic...it helped n it realy worked
|
 |
Vinicius Alves
Greenhorn
Joined: Dec 21, 2010
Posts: 14
|
|
|
thanks dominic , it worked perfectly !
|
 |
Keertiraj Patil
Greenhorn
Joined: Dec 18, 2011
Posts: 1
|
|
|
Thanks Dominic. It worked for me.
|
 |
Roger Pack
Greenhorn
Joined: Aug 24, 2011
Posts: 3
|
|
|
This *might* have been fixed by not deploying two separate conflicting versions of hibernate-annotations or commons jar. Maybe, I'm not sure.
|
 |
Dilruk Perera
Greenhorn
Joined: May 12, 2012
Posts: 3
|
|
Thanks dominic It really works so any body with this same problem can try dis out
|
 |
 |
|
|
subject: Hibernate java.lang.ClassNotFoundException: javax.persistence.Cacheable
|
|
|