java.lang.NoClassDefFoundError: javax/persistence/Persistence

Oracle Community | Stuart Fleming | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Running Java program outside Jdeveloper -- issue with dependent libaries

    Oracle Community | 3 years ago | Stuart Fleming
    java.lang.NoClassDefFoundError: javax/persistence/Persistence
  2. 0

    Inserting CLOBs >32k failed with error "Broken Pipe"

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: No more data to read from socket
  3. 0

    UnlockedSharedObjectException in EHCache Wrapper Utility Method

    Terracotta | 9 years ago | rdev
    com.tc.object.tx.UnlockedSharedObjectException: ******************************************************************************* Attempt to access a shared object outside the scope of a shared lock. All access to shared objects must be within the scope of one or more shared locks defined in your Terracotta configuration. Please alter the locks section of your Terracotta configuration so that this access is auto-locked or protected by a named lock. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting Caused by Thread: ExecuteThread: '14' for queue: 'weblogic.kernel.Default' in VM(0) Shared Object Type: java.util.HashMap *******************************************************************************
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalMonitorStateException but everything seems synchronized

    Terracotta | 8 years ago | horkhe
    com.tc.object.tx.UnlockedSharedObjectException: ******************************************************************************* Attempt to access a shared object outside the scope of a shared lock. All access to shared objects must be within the scope of one or more shared locks defined in your Terracotta configuration. Please alter the locks section of your Terracotta configuration so that this access is auto-locked or protected by a named lock. For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting Caused by Thread: Thread-14 in VM(0) *******************************************************************************
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.Persistence

    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:305)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    6 frames
  3. in_jpa_db_objects
    JavaServiceFacade.<init>
    1. in_jpa_db_objects.JavaServiceFacade.<init>(JavaServiceFacade.java:19)
    1 frame
  4. util_import_factory
    OraConnInput.OraCleaner
    1. util_import_factory.OraConnInput.OraCleaner(OraConnInput.java:43)
    1 frame
  5. startup
    startAll.startupProcesses
    1. startup.startImport.processIncomingXMLs(startImport.java:49)
    2. startup.startAll.startupProcesses(startAll.java:92)
    2 frames
  6. Unknown
    commandLineStartup.main
    1. commandLineStartup.main(commandLineStartup.java:23)
    1 frame