I am trying to connect my Spring Boot Application with Looker API, So I have used the Looker Java SDK for the same.
It's a Maven project and while trying to establish the connection, java returns a “classNotFoundException”.
Attaching below the POM file where added all the dependency required for looker SDK and the error I had encountered.
Is there any way to resolve the issue , So that I can connect my SpringBoot Application with the Looker API.
Given Below are the dependencies i had used in my POM.Xml
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<ktorVersion>1.6.7</ktorVersion>
</properties>
<dependencies>
<dependency>
<groupId>io.github.cdimascio</groupId>
<artifactId>dotenv-kotlin</artifactId>
<version>6.2.2</version>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-jackson</artifactId>
<version>${ktorVersion}</version>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-gson</artifactId>
<version>${ktorVersion}</version>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-okhttp</artifactId>
<version>${ktorVersion}</version>
</dependency>
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-json</artifactId>
<version>${ktorVersion}</version>
</dependency>
<dependency>
<groupId>io.github.cdimascio</groupId>
<artifactId>java-dotenv</artifactId>
<version>5.2.2</version>
</dependency>
<dependency>
<groupId>org.ini4j</groupId>
<artifactId>ini4j</artifactId>
<version>0.5.4</version>
</dependency>
<dependency>
<groupId>com.looker</groupId>
<artifactId>kotlin-sdk</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/looker-kotlin-sdk.jar</systemPath>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.6.0</version>
</dependency>
</dependencies>
Attaching the image below , of the exception I had encountered: