Hi everyone,

When following the setup page [
https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup] running :

./gradlew eclipse

I hit an error :

Could not find or load main class org.gradle.wrapper.GradleWrapperMain

When looking at the gradle documentation [
https://docs.gradle.org/current/userguide/gradle_wrapper.html]

the explanation is simple : gradle/wrapper/ *should* be submitted to your
version control system.

Thus, 2 solutions:
- adding the gradle/wrapper/* files and precise the gradle version in
build.gradle
- remove the wrapper, since it is of no use, because one has to run for
instance gradle wrapper --gradle-version 2.0 , which means he already has
gradle.

The first solution seems to be the one to take.

I can do the modification and push a pull request, but I still want to be
sure to check with you before doing so.

Regards.

Reply via email to