java.lang.NoClassDefFoundError: javax/persistence/EntityListeners

top10 | jianch | 5 years ago
  1. 0

    hibernate创建表失败

    top10 | 5 years ago | jianch
    java.lang.NoClassDefFoundError: javax/persistence/EntityListeners
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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.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
    SchemaUpdate.execute
    1. org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1385)
    2. org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:1190)
    3. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:187)
    3 frames
  6. com.opmex.datacenter
    HibernateDBAccess.doCreateTable
    1. com.opmex.datacenter.dbaccess.HibernateDBAccess.doCreateTable(HibernateDBAccess.java:59)
    1 frame
  7. Unknown
    Tablet$AppsShellCallback.receivedMsg
    1. Tablet$AppsShellCallback.receivedMsg(Tablet.java:746)
    1 frame
  8. com.opmextech.rfodn
    LogTelnetdShell.run
    1. com.opmextech.rfodn.appshell.LogTelnetdShell.run(LogTelnetdShell.java:407)
    1 frame
  9. telnetd-x
    Connection.run
    1. net.wimpi.telnetd.net.Connection.run(Unknown Source)
    1 frame