Buildtools error

Discussion in 'Spigot Help' started by Grid21, May 18, 2015.

  1. Now before anyone asks, yes I just downloaded the latest version of BuildTools.jar. Tonight I wanted to start fresh and had BuildTools rebuild Spigot.jar. But I keep getting this error. What does it mean? I used the commandline code in Git Bash
    Code (Text):
    Java -jar BuildTools.jar
    Code (Text):

    Results :

    Tests run: 5358, Failures: 0, Errors: 0, Skipped: 0

    [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ craftbukkit ---
    [INFO] Building jar: C:\Users\josh\Desktop\BukkitDownloads\CraftBukkit\target\craftbukkit-1.8.3-R0.1-SNAPSHOT.jar
    [INFO] --- maven-shade-plugin:2.3:shade (default) @ craftbukkit ---
    [INFO] Including org.bukkit:bukkit:jar:1.8.3-R0.1-SNAPSHOT in the shaded jar.
    [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 in the shaded jar.
    [INFO] Including in the shaded jar.
    [INFO] Including org.avaje:ebean:jar:2.8.1 in the shaded jar.
    [INFO] Including javax.persistence:persistence-api:jar:1.0 in the shaded jar.
    [INFO] Including org.yaml:snakeyaml:jar:1.14 in the shaded jar.
    [INFO] Including org.spigotmc:minecraft-server:jar:1.8.3-SNAPSHOT in the shaded jar.
    [INFO] Including net.sf.jopt-simple:jopt-simple:jar:3.2 in the shaded jar.
    [INFO] Including jline:jline:jar:2.12 in the shaded jar.
    [INFO] Including org.xerial:sqlite-jdbc:jar:3.7.2 in the shaded jar.
    [INFO] Including mysql:mysql-connector-java:jar:5.1.14 in the shaded jar.
    [WARNING] craftbukkit-1.8.3-R0.1-SNAPSHOT.jar, minecraft-server-1.8.3-SNAPSHOT.jar define 497 overlappping classes:
    [WARNING]   - org.apache.logging.log4j.core.appender.ConsoleAppender$ConsoleManagerFactory
    [WARNING]   - net.minecraft.server.DispenserRegistry$2
    [WARNING]   - net.minecraft.server.DispenserRegistry$12
    [WARNING]   - net.minecraft.server.PathfinderGoalNearestAttackableTargetInsentient
    [WARNING]   - net.minecraft.server.PathfinderGoalHurtByTarget
    [WARNING]   - net.minecraft.server.Entity$4
    [WARNING]   - net.minecraft.server.BlockGrass
    [WARNING]   - net.minecraft.server.Chunk$1
    [WARNING]   - net.minecraft.server.EntityHuman
    [WARNING]   - net.minecraft.server.BlockPressurePlateBinary$EnumMobType
    [WARNING]   - 487 more...
    [WARNING] minecraft-server-1.8.3-SNAPSHOT.jar, gson-2.2.4.jar define 153 overlappping classes:
    [WARNING]   -
    [WARNING]   -
    [WARNING]   -
    [WARNING]   -$Gson$Types
    [WARNING]   -$KeySet
    [WARNING]   -$5
    [WARNING]   -$1
    [WARNING]   -$2
    [WARNING]   -
    [WARNING]   -$Gson$Types$ParameterizedTypeImpl
    [WARNING]   - 143 more...
    [WARNING] guava-17.0.jar, minecraft-server-1.8.3-SNAPSHOT.jar define 1686 overlappping classes:
    [WARNING]   -$1
    [WARNING]   -
    [WARNING]   -$5
    [WARNING]   -$StandardBaseEncoding$2
    [WARNING]   -
    [WARNING]   -
    [WARNING]   -
    [WARNING]   -$5
    [WARNING]   -$StatsCounter
    [WARNING]   -$Policies
    [WARNING]   - 1676 more...
    [WARNING] maven-shade-plugin has detected that some .class files
    [WARNING] are present in two or more JARs. When this happens, only
    [WARNING] one single version of the class is copied in the uberjar.
    [WARNING] Usually this is not harmful and you can skeep these
    [WARNING] warnings, otherwise try to manually exclude artifacts
    [WARNING] based on mvn dependency:tree -Ddetail=true and the above
    [WARNING] output
    [WARNING] See
    [INFO] Replacing original artifact with shaded artifact.
    [INFO] Replacing C:\Users\josh\Desktop\BukkitDownloads\CraftBukkit\target\craftbukkit-1.8.3-R0.1-SNAPSHOT.jar with C:\Users\josh\Desktop\BukkitDownloads\CraftBukkit\target\craftbukkit-1.8.3-R0.1-SNAPSHOT-shaded.jar
    [INFO] Dependency-reduced POM written at: C:\Users\josh\Desktop\BukkitDownloads\CraftBukkit\dependency-reduced-pom.xml
    [INFO] Dependency-reduced POM written at: C:\Users\josh\Desktop\BukkitDownloads\CraftBukkit\dependency-reduced-pom.xml
    [INFO] ------------------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 24.560 s
    [INFO] Finished at: 2015-05-18T01:26:49-04:00
    [INFO] Final Memory: 25M/473M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project craftbukkit: Error creating shaded jar: C:\Users\josh\Desktop\BukkitDownloads\CraftBukkit\dependency-reduced-pom.xml (Access is denied) -> [Help 1]
    [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] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1]
    Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [sh, C:\Users\josh\Desktop\BukkitDownloads\apache-maven-3.2.3/bin/mvn, clean, install]
        at org.spigotmc.builder.Builder.runProcess(
        at org.spigotmc.builder.Builder.main(