qdrant / java-client

Official Java client for Qdrant
https://qdrant.github.io/java-client
Apache License 2.0
39 stars 6 forks source link

Cannot access com.google.protobuf.GeneratedMessageV3 #23

Closed Begin-Studio-LLC closed 8 months ago

Begin-Studio-LLC commented 8 months ago

Getting the following error.

Cannot access com.google.protobuf.GeneratedMessageV3

io.qdrant client 1.7.1 org.springframework.boot spring-boot-starter-parent 3.3.0-SNAPSHOT
Anush008 commented 8 months ago

Try adding the following dependencies.

<dependencies>
    <dependency>
        <groupId>io.grpc</groupId>
        <artifactId>grpc-protobuf</artifactId>
        <version>1.59.0</version>
    </dependency>
    <dependency>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
        <version>32.0.0-jre</version>
    </dependency>
    <dependency>
        <groupId>io.qdrant</groupId>
        <artifactId>client</artifactId>
        <version>1.7.1</version>
    </dependency>
</dependencies>
Begin-Studio-LLC commented 8 months ago

That worked