java.lang.NoClassDefFoundError: sun/net/ConnectionResetException

jtds | stasiek21 | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problems with connect jtds 1.2.5 to sql 2008 r2

    jtds | 4 years ago | stasiek21
    java.lang.NoClassDefFoundError: sun/net/ConnectionResetException

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      sun/net/ConnectionResetException

      at java.net.SocketInputStream.read()
    2. Java RT
      DataInputStream.readFully
      1. java.net.SocketInputStream.read(Unknown Source)
      2. java.io.DataInputStream.readFully(Unknown Source)
      3. java.io.DataInputStream.readFully(Unknown Source)
      3 frames
    3. jTDS
      JtdsStatement.executeQuery
      1. net.sourceforge.jtds.jdbc.SharedSocket.readPacket(SharedSocket.java:846)
      2. net.sourceforge.jtds.jdbc.SharedSocket.sendNetPacket(SharedSocket.java:662)
      3. net.sourceforge.jtds.jdbc.RequestStream.putPacket(RequestStream.java:560)
      4. net.sourceforge.jtds.jdbc.RequestStream.write(RequestStream.java:306)
      5. net.sourceforge.jtds.jdbc.TdsCore.executeSQL70(TdsCore.java:3862)
      6. net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1033)
      7. net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:465)
      8. net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1304)
      8 frames