milvus-sdk-java icon indicating copy to clipboard operation
milvus-sdk-java copied to clipboard

io.milvus.grpc.DataType can not resolve, which dependency need to import for this enum class?

Open anyihao opened this issue 11 months ago • 1 comments

Image

anyihao avatar Jan 16 '25 08:01 anyihao

The same question is answered here: https://github.com/milvus-io/milvus-sdk-java/issues/273

In the latest code, the submodule milvus-proto is moved to here: https://github.com/milvus-io/milvus-sdk-java/tree/master/sdk-core/src/main

To sync the submodule, go to the milvus-sdk-java root path, and run this command in the terminal: git submodule update --init

Then use a IDE(IntelliJ is recommended) to open the repo, there is a pulgin will auto-generate the classes from the milvus-proto

yhmo avatar Jan 17 '25 04:01 yhmo