-
Notifications
You must be signed in to change notification settings - Fork 30
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
Compilation error---Server returned HTTP response code: 403 #31
Comments
I made few changes to gradle-wrapper.properties to new gradle link. Now i'm getting below `./gradlew clean build FAILURE: Build failed with an exception.
BUILD FAILED Total time: 18.18 secs` |
I don't know if this is already solved but I got to compile it by changing the maven URL from http to https in gradle.properties. Also, for gradle-wrapper to work I had to change to https the url in gradle/wrapper/gradle-wrapper.properties |
Had to perform the same modifications as listed above, flipping to HTTPS to get to this point
Can't seem to figure out how to resolve this. java -version |
Hi,
While compiling, i'm getting below error
./gradlew clean build
Downloading http://services.gradle.org/distributions/gradle-1.4-bin.zip
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-1.4-bin.zip
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
at org.gradle.wrapper.Download.downloadInternal(Download.java:63)
at org.gradle.wrapper.Download.download(Download.java:49)
at org.gradle.wrapper.Install.createDist(Install.java:51)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
gradle.properties
cat gradle.properties
version = 0.4
rundeckPluginVersion = 1.1
mavenCentralUrl = http://repo1.maven.org/maven2
My Java version
java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
The text was updated successfully, but these errors were encountered: