java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets

Stack Overflow | Masked Man | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    java.nio.charset.StandardCharsets

    at org.mariadb.jdbc.internal.packet.result.ErrorPacket.<init>()
  2. org.mariadb.jdbc
    Utils.retrieveProxy
    1. org.mariadb.jdbc.internal.packet.result.ErrorPacket.<init>(ErrorPacket.java:76)
    2. org.mariadb.jdbc.internal.packet.read.ReadInitialConnectPacket.<init>(ReadInitialConnectPacket.java:88)
    3. org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:418)
    4. org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:358)
    5. org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:713)
    6. org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:471)
    6 frames
  3. mariadb-java-client
    Driver.connect
    1. org.mariadb.jdbc.Driver.connect(Driver.java:105)
    1 frame
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:175)
    2. java.sql.DriverManager.getConnection(DriverManager.java:209)
    2 frames
  5. com.mohammadfs.sample
    MainActivity$1.run
    1. com.mohammadfs.sample.MainActivity$1.run(MainActivity.java:27)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:856)
    1 frame