[ 
https://issues.apache.org/jira/browse/KYLIN-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840863#comment-16840863
 ] 

wei su commented on KYLIN-4003:
-------------------------------

do I need load driver use this way:
Driver driver = (Driver) 
Class.forName("org.apache.kylin.jdbc.Driver").newInstance();

can I DriverManager?

 

> Get java.sql.SQLException: No suitable driver found when use 
> DriverManager.getConnection("jdbc:kylin://
> -------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-4003
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4003
>             Project: Kylin
>          Issue Type: Bug
>          Components: Driver - JDBC
>    Affects Versions: v2.6.1
>         Environment: windows, eclipse.
>            Reporter: wei su
>            Priority: Major
>             Fix For: Future
>
>
> 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to