java.lang.NoClassDefFoundError: javax/persistence/Cacheable

coderanch.com | 4 months ago
  1. 0

    Hibernate java.lang.ClassNotFoundException: javax.persistence.Cacheable

    Coderanch | 6 years ago | David Mbura
    java.lang.NoClassDefFoundError: javax/persistence/Cacheable
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Building Spring 3.0.1 - Failing Tests

    Stack Overflow | 5 years ago | Nerrve
    java.lang.ClassNotFoundException: org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect
  4. 0

    Inconsistency in ant command - CentOS 6.3

    Stack Overflow | 3 years ago | deeperDATA
    java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher

  1. archenroot 1 times, last 1 week ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 2 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    javax.persistence.Cacheable

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    6 frames
  3. Hibernate
    SchemaExport.<init>
    1. org.hibernate.cfg.AnnotationBinder.determineCacheSettings(AnnotationBinder.java:953)
    2. org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:596)
    3. org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:636)
    4. org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:359)
    5. org.hibernate.cfg.Configuration.generateDropSchemaScript(Configuration.java:838)
    6. org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:128)
    7. org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:91)
    7 frames
  4. com.hibernate.test1
    Test.main
    1. com.hibernate.test1.Test.main(Test.java:16)
    1 frame