-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Debian 11
openjdk version "1.8.0_345"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_345-b01)
OpenJDK 64-Bit Server VM (Temurin)(build 25.345-b01, mixed mode)
-
Loading BuildTools version: git-BuildTools-a45f2fe-149 (#149)
-
Yes
Using BuildTools in a fresh directory, I'm unable to build Spigot for any Minecraft versions 1.10.2 and under. I receive this message:
Attempting to build Minecraft with details: VersionInfo(minecraftVersion=1.10.2, accessTransforms=bukkit-1.10.2.at, classMappings=bukkit-1.10.2-cl.csrg, memberMappings=bukkit-1.10.2-members.csrg, packageMappings=package.srg, minecraftHash=41c4e081defd80b09cb0391c894c2f3c, classMapCommand=null, memberMapCommand=null, finalMapCommand=null, decompileCommand=java -jar BuildData/bin/fernflower.jar -dgs=1 -hdc=0 -asc=1 -udv=0 {0} {1}, serverUrl=null, mappingsUrl=null, spigotVersion=null, toolsVersion=0) Starting download of https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1902) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268) at java.net.URL.openStream(URL.java:1093) at com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72) at com.google.common.io.ByteSource.read(ByteSource.java:296) at com.google.common.io.Resources.toByteArray(Resources.java:98) at org.spigotmc.builder.Builder.download(Builder.java:1083) at org.spigotmc.builder.Builder.main(Builder.java:416) at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)
This doesn't happen with more recent versions, such as 1.11.2, where it downloads the vanilla jars from launcher.mojang.com instead.