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

Error when running protobuf as IDE with master branch. #10499

Open
wngus606 opened this issue May 14, 2024 · 0 comments
Open

Error when running protobuf as IDE with master branch. #10499

wngus606 opened this issue May 14, 2024 · 0 comments

Comments

@wngus606
Copy link
Contributor

wngus606 commented May 14, 2024

Hi,
When running Proto2DataHub.main() with IntelliJ, the following error occurs.
jdk17 environment.

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hc/client5/http/HttpRequestRetryStrategy
	at datahub.protobuf.Proto2DataHub.main(Proto2DataHub.java:311)
Caused by: java.lang.ClassNotFoundException: org.apache.hc.client5.http.HttpRequestRetryStrategy
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 1 more

Caused by: java.lang.ClassNotFoundException: org.apache.hc.client5.http.HttpRequestRetryStrategy

Execution failed for task ':metadata-integration:java:datahub-protobuf:Proto2DataHub.main()'.
> Process 'command '/Users/user/Library/Java/JavaVirtualMachines/temurin-17.0.10/Contents/Home/bin/java'' finished with non-zero exit value 1

The parameters are as follows.

--datahub_api
http://localhost:8080
--file
/path/test.proto
--descriptor
/path/test.descriptor
--transport
rest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant