尝试下载名为BuildTools的内容,链接位于页面here的稍下方。我的问题是,按照他们的教程,我打开git(允许我通过终端访问我的文件的程序)并按照网站的要求运行命令Java -jar BuildTools.jar
。安装几乎完全没问题,但接近结束时失败。我已经查看了错误消息,但我似乎无法做出正面或反面。还有其他人明白吗?
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:24 min
[INFO] Finished at: 2018-04-06T20:31:54+01:00
[INFO] Final Memory: 13M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.0:shade (default) on project bukkit: Error creating shaded jar: Unexpected end of ZLIB input stream -> [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/MojoExecutionException
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [sh, C:\Users\Ben\Documents\Programming Stuff\BuildTools\apache-maven-3.5.0/bin/mvn, clean, install]
at org.spigotmc.builder.Builder.runProcess0(Builder.java:639)
at org.spigotmc.builder.Builder.runProcess(Builder.java:597)
at org.spigotmc.builder.Builder.main(Builder.java:462)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:29)
我看过它建议的东西但我老实说也不太了解它们。有人能帮帮我吗?
非常感谢, Cookie
编辑:BUILD FAILURE之前的位是:Results :
Tests run: 924, Failures: 0, Errors: 0, Skipped: 3
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ bukkit ---
[INFO] Building jar: C:\Users\Ben\Documents\Programming Stuff\BuildTools\Bukkit\target\bukkit-1.12.2-R0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-shade-plugin:3.1.0:shade (default) @ bukkit ---
[INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar.
[INFO] Including com.googlecode.json-simple:json-simple:jar:1.1.1 in the shaded jar.
[INFO] Including com.google.guava:guava:jar:21.0 in the shaded jar.
[INFO] Including com.google.code.gson:gson:jar:2.8.0 in the shaded jar.
[INFO] Including org.yaml:snakeyaml:jar:1.19 in the shaded jar.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE