java.lang.NoClassDefFoundError: javax/persistence/EntityListeners

Coderanch | Vikram Kohli | 6 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Error:java.lang.NoClassDefFoundError: javax/persistence/EntityList

    Coderanch | 6 years ago | Vikram Kohli
    java.lang.NoClassDefFoundError: javax/persistence/EntityListeners

  1. archenroot 1 times, last 2 weeks 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.EntityListeners

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    6. java.lang.ClassLoader.loadClass(Unknown Source)
    6 frames
  3. Hibernate
    JPAMetadataProvider.getDefaults
    1. org.hibernate.cfg.annotations.reflection.JPAMetadataProvider.getDefaults(JPAMetadataProvider.java:96)
    1 frame
  4. Hibernate Commons Annotations
    JavaReflectionManager.getDefaults
    1. org.hibernate.annotations.common.reflection.java.JavaReflectionManager.getDefaults(JavaReflectionManager.java:226)
    1 frame
  5. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1353)
    2. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1824)
    2 frames
  6. com.vaannila.util
    HibernateUtil.<clinit>
    1. com.vaannila.util.HibernateUtil.<clinit>(HibernateUtil.java:10)
    1 frame
  7. com.vaannila.course
    Main.main
    1. com.vaannila.course.Main.saveCourse(Main.java:26)
    2. com.vaannila.course.Main.main(Main.java:15)
    2 frames