-
Bug
-
Resolution: Unresolved
-
Minor
-
Java 17.0.1+12-LTS-39
Processor AMD Phenom(tm) II X4 945 Processor 3.00 GHz
Installed RAM 8.00 GB
Product ID 00330-80000-00000-AA297
System type 64-bit operating system, x64-based processor
Edition Windows 10 Pro
Version 21H2
Installed on 11/1/2020
OS build 19044.1766
Experience Windows Feature Experience Pack 120.2212.4180.0Java 17.0.1+12-LTS-39 Processor AMD Phenom(tm) II X4 945 Processor 3.00 GHz Installed RAM 8.00 GB Product ID 00330-80000-00000-AA297 System type 64-bit operating system, x64-based processor Edition Windows 10 Pro Version 21H2 Installed on 11/1/2020 OS build 19044.1766 Experience Windows Feature Experience Pack 120.2212.4180.0
-
git-BuildTools-668e05a-148 (#148)
-
Yes
Trying to compile Spigot 1.19 (was using 1.18.2) using latest BuildTools
java -jar BuildTools.jar --rev 1.19
Tried using Windows Powershell as well as Git Bash. Both fail at same spot. See attached full log but here is error:
[INFO] — maven-compiler-plugin:3.10.1:compile (default-compile) @ spigot —
[INFO] Changes detected - recompiling the module!
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] C:\from 2008 server\Spigot Servers\Spigot New 1.19\Spigot\Spigot-Server\src\main\java\org\bukkit\craftbukkit\util\RandomSourceWrapper.java:[116,20] The method nextInt(int, int) of type org.bukkit.craftbukkit.util.RandomSourceWrapper.RandomWrapper must override or implement a supertype method
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spigot-API 1.19-R0.1-SNAPSHOT ...................... SUCCESS [ 23.676 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [ 0.036 s]
[INFO] Spigot 1.19-R0.1-SNAPSHOT .......................... FAILURE [ 22.682 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.843 s
[INFO] Finished at: 2022-07-04T19:59:34-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project spigot: Compilation failure
[ERROR] C:\from 2008 server\Spigot Servers\Spigot New 1.19\Spigot\Spigot-Server\src\main\java\org\bukkit\craftbukkit\util\RandomSourceWrapper.java:[116,20] The method nextInt(int, int) of type org.bukkit.craftbukkit.util.RandomSourceWrapper.RandomWrapper must override or implement a supertype method
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :spigot
Error compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
java.lang.RuntimeException: Error running command, return status !=0: [C:\from 2008 server\Spigot Servers\Spigot New 1.19\apache-maven-3.6.0/bin/mvn.cmd, -Dbt.name=3544, clean, install]
at org.spigotmc.builder.Builder.runProcess0(Builder.java:973)
at org.spigotmc.builder.Builder.runProcess(Builder.java:904)
at org.spigotmc.builder.Builder.runMaven(Builder.java:873)
at org.spigotmc.builder.Builder.main(Builder.java:709)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)