noclassdeffounderror « Cache « JPA Q&A





2. NoClassDefFoundError: net/sf/ehcache/CacheException    forum.hibernate.org

Hi When Iam trying to insert the Data into the Table using Hibernate with Ant commands, Iam getting one exception called NoClassDefFoundError: net/sf/ehcache/CacheException. I have unziped the Hibernate2.jar. In that jar, there is only one subdirectory called hibernate and no seperate dirctory called ehcache. Where can I find the above package..? or In which version of Hibernate jar I can find ...

3. NoClassDefFoundError when creating cache    forum.hibernate.org

Can anyone throw any light on the reason(s) for this exception? Obviously, the offending class is in the Hibernate3.jar, so it ought to be found. At the point at which the exception occurs the connection has been made to the DB. In fact, the app is almost at the point where it starts to execute. The mapping file is below, as ...

4. java.lang.NoClassDefFoundError: net/sf/ehcache/CacheExceptio    forum.hibernate.org

Hi, I am facing the foloowing error. help on this is really appreciated. I am using weblogic9.2, Eclipse, Hibernate 3.0 when I try to login to my application, it is throwing me witht the following error. java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) Truncated. see log file for complete stacktrace Though we are using Hibernate3.0 ...