You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't get your 'hello-world-scala' example to work, out of the box. When I try to execute ./gradlew tasks I get the following error :
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
You might not have checked in the corresponding Gradle wrapper JAR file (gradle-wrapper.jar) as mentioned within the gradlew executable script, itself (see $APP_HOME/gradle/wrapper/gradle-wrapper.jar). This might be because you didn't stage it in Git or have a '.gitignore' file which ignores JAR files (also, the file appears to be missing in all sub-projects).
In the meanwhile, adding the following to a local copy of build.gradle and executing gradle wrapper a local, installed version of Gradle, on my PATH, should be sufficient to get this working:
I can't get your 'hello-world-scala' example to work, out of the box. When I try to execute
./gradlew tasks
I get the following error :Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
You might not have checked in the corresponding Gradle wrapper JAR file (gradle-wrapper.jar) as mentioned within the
gradlew
executable script, itself (see $APP_HOME/gradle/wrapper/gradle-wrapper.jar). This might be because you didn't stage it in Git or have a '.gitignore' file which ignores JAR files (also, the file appears to be missing in all sub-projects).This topic is discussed in the Stackoverflow post
In the meanwhile, adding the following to a local copy of
build.gradle
and executinggradle wrapper
a local, installed version of Gradle, on my PATH, should be sufficient to get this working:JFYI, I'm on Mac OSX (El Capitan 10.11.2, Java 1.8.0_45-b14)
BTW, thanks for the code.
The text was updated successfully, but these errors were encountered: