Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A short description of the bug #10078

Closed
kingkong2019 opened this issue Mar 19, 2024 · 5 comments · Fixed by #10487
Closed

A short description of the bug #10078

kingkong2019 opened this issue Mar 19, 2024 · 5 comments · Fixed by #10487
Labels
bug Bug report

Comments

@kingkong2019
Copy link

Describe the bug
Trying to follow dev tutorial - https://datahubproject.io/docs/developers/

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/datahub-project/datahub
cd datahub
./gradlew build
Error:
Task :buildSrc:compileJava FAILED
D:\datahub\buildSrc\src\main\java\io\datahubproject\OpenApiEntities.java:11: error: package com.linkedin.metadata.models.registry.config does not exist
import com.linkedin.metadata.models.registry.config.Entities;

Compiling with toolchain '/opt/jdk-17.0.9'.
Compiling with JDK Java compiler API.
/opt/datahub-master/buildSrc/src/main/java/io/datahubproject/OpenApiEntities.java:11: error: package com.linkedin.metadata.models.registry.config does not exist
import com.linkedin.metadata.models.registry.config.Entities;
^
/opt/datahub-master/buildSrc/src/main/java/io/datahubproject/OpenApiEntities.java:12: error: package com.linkedin.metadata.models.registry.config does not exist
import com.linkedin.metadata.models.registry.config.Entity;
^
/opt/datahub-master/buildSrc/src/main/java/io/datahubproject/OpenApiEntities.java:43: error: cannot find symbol
private Map<String, Entity> entityMap;
^
symbol: class Entity
location: class OpenApiEntities
/opt/datahub-master/buildSrc/src/main/java/io/datahubproject/OpenApiEntities.java:191: error: cannot find symbol
private ObjectNode buildEntitySchema(Entity entity, Set aspectDefinitions, boolean isResponse) {

Expected behavior
Code compiled, auto-generated and so on, no any errors

Desktop (please complete the following information):

windows 11 and linux 7

@kingkong2019 kingkong2019 added the bug Bug report label Mar 19, 2024
@hsheth2
Copy link
Collaborator

hsheth2 commented Mar 28, 2024

@kingkong2019 unfortunately we don't actively support Windows https://datahubproject.io/docs/next/developers/#windows-compatibility

Are you using WSL?

@hsheth2 hsheth2 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
@jkeerthi-hbk
Copy link

@hsheth2 Hi! I'm also on windows 11, and facing the same issue. Is it not even supported on WSL? Because even on WSL I face the same errors.
image

@hsheth2
Copy link
Collaborator

hsheth2 commented Mar 29, 2024

@jkeerthi-hbk can you try running ./gradlew build from the WSL side? The fact that the path has \ suggests that it's running in windows, not WSL.

@jkeerthi-hbk
Copy link

@hsheth2 Ran ./gradlew build from WSL, and same error exists.
image

@jkeerthi-hbk
Copy link

@hsheth2 Could you kindly help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
3 participants