apache / age

Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL.
https://age.apache.org
Apache License 2.0
2.83k stars 400 forks source link

JDBC Driver error during compile time #1440

Open amthiagomont opened 6 months ago

amthiagomont commented 6 months ago

Describe the bug

I have a small issue to decribe. This error occurs in jdbc driver. When I try to compile I occurs this error message:

$ ./gradlew assemble 
Erro: Não foi possível localizar nem carregar a classe principal org.gradle.wrapper.GradleWrapperMain
Causada por: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

This error is happening because the file gradle-wrapper.jar dont exists in directory. I verify that in the file .gitignore there is a configuration to exclude this file. When I drop gradlew and grandlew.bat and create a new wrapper with the same gradle version and it works! How about remove entry for .gitignore file and put gradle-wrapper.jar in the repository? Or at least exclude gradle wrapper binary to force run gradle wrapper again? I hope this issue can help others developpers. Thanks for this driver and I hope that this issue can be resolved as soon as possible.

How are you accessing AGE (Command line, driver, etc.)?

What data setup do we need to do? None

What is the necessary configuration info needed?

What is the command that caused the error?

$ ./gradlew assemble 
Erro: Não foi possível localizar nem carregar a classe principal org.gradle.wrapper.GradleWrapperMain
Causada por: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Expected behavior Succesfull compile

Environment (please complete the following information):

Additional context When I drop gradlew and grandlew.bat and create a new wrapper with the same gradle version and it works! How about remove entry for .gitignore file and put gradle-wrapper.jar in the repository? Or at least exclude gradle wrapper binary to force run gradle wrapper again?

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove "Abondoned" label or comment or this will be closed in 14 days.

amthiagomont commented 2 weeks ago

Waiting for a feedback

jrgemignani commented 2 weeks ago

@amthiagomont Could you provide the command you used to build the file?

amthiagomont commented 2 weeks ago

I just cloned the repository and ran the command $ ./gradlew assemble, as i described when i open the issue.

jrgemignani commented 1 week ago

@amthiagomont Thank you. I was able to reproduce it. However, I'm not exactly sure what you mean by -

Additional context When I drop gradlew and grandlew.bat and create a new wrapper with the same gradle version and it works!