将springboot应用程序连接到azure数据库

ar7v8xwq  于 2021-05-17  发布在  Spark
关注(0)|答案(0)|浏览(411)

我正在尝试将springboot应用程序连接到azure databricks。下面是我尝试过的一些东西。。。。
应用程序属性

spring.datasource.url = jdbc:spark://adb-**********.*.azuredatabricks.net:**/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/******/******-*****-abcd341
spring.datasource.username = username
spring.datasource.password = Generated Token

pom.xml文件
下面是我正在使用的一些依赖项。。。

<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-core_2.10</artifactId>
    <version>1.5.2</version>
</dependency>

<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-sql_2.10</artifactId>
    <version>1.5.2</version>
</dependency>

<dependency>
    <groupId>com.databricks</groupId>
    <artifactId>spark-avro_2.10</artifactId>
    <version>2.0.1</version>
</dependency>

我要低于错误。。


***************************

APPLICATION FAILED TO START

***************************

Description:

Cannot determine embedded database driver class for database type NONE

Action:

If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

如果我缺少任何maven依赖,建议我。
提前谢谢。。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题