Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4003

Get java.sql.SQLException: No suitable driver found when use DriverManager.getConnection("jdbc:kylin://

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.6.1
    • Fix Version/s: Future
    • Component/s: Driver - JDBC
    • Labels:
      None
    • Environment:
      windows, eclipse.

      Description

      here is sample code:

      Properties localProperties = new Properties();
      Connection conn = DriverManager.getConnection("jdbc:kylin://clouderahadoop.test.tsi.lan:15000", localProperties);

       

      here here is guild.gradle:

      compile(group: 'com.google.guava', name: 'guava', version: '23+')
      compile(group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5+')
      compile(group: 'org.apache.calcite.avatica', name: 'avatica-core', version: '1.15.0')
      compile(group: 'org.apache.kylin', name: 'kylin-jdbc', version: '2.6.+')

      but I still get no suitable driver problem.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              suwei111333 wei su
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: