Oracle cannot find the class Savepoint

java.lang.NoClassDefFoundError
Javadoc
Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.

The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found. @author unascribed @since JDK1.0

at oracle.jdbc.driver.OracleDriver.getConnectionInstance

Typical Exception Messages

  1. java/sql/Savepoint

Specific cases

Solution

Liam, 3 months ago

Exception message: NoClassDefFoundError: java/sql/Savepoint

  • Check the java level being used, as "Savepoint" is a java class not belong to oracle,
  • Upgrade the java to a higher level version
  • Use the "java -version" to check the java level and check whether there is compatibility issue with the oracle driver version being used.

External results for this pattern (11)

  1. 843854via Oracle Community5 months ago
    java/sql/Savepoint
    Show stack trace
  2. 843854via Oracle Community5 months ago
    java/sql/Savepoint
    Show stack trace
  3. 807598via Oracle Community5 months ago
    java/sql/Savepoint
    Show stack trace
  4. 401832via Oracle Community5 months ago
    java/sql/Savepoint
    Show stack trace
  5. 843836via Oracle Community1 year ago
    java/sql/Savepoint
    Show stack trace
  6. 550109via Oracle Community1 year ago
    java/sql/Savepoint
    Show stack trace
  7. 843854via Oracle Community1 year ago
    java/sql/Savepoint
    Show stack trace
  8. 843854via Oracle Community2 years ago
    java/sql/Savepoint
    Show stack trace
  9. 18105via Oracle Community2 years ago
    java/sql/Savepoint
    Show stack trace