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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • v2.6.1
    • Future
    • Driver - JDBC
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: