Skip to content
Failed

Console Output

Established TCP socket on 45797
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml clean install javadoc:javadoc
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< net.citizensnpcs:citizensapi >--------------------
[INFO] Building CitizensAPI 2.0.31-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ citizensapi ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ citizensapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ citizensapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 261 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/classes
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java: Some input files use or override a deprecated API.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java: Recompile with -Xlint:deprecation for details.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/SimpleMetadataStore.java: Some input files use unchecked or unsafe operations.
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/SimpleMetadataStore.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[177,55] cannot access org.bukkit.loot.Lootable
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/loot/Lootable.class)
    unable to access file: java.util.zip.ZipException: invalid block type
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[183,61] cannot access org.bukkit.inventory.AbstractHorseInventory
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/AbstractHorseInventory.class)
    unable to access file: java.util.zip.ZipException: invalid stored block lengths
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[188,53] cannot access org.bukkit.inventory.HorseInventory
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/HorseInventory.class)
    unable to access file: java.util.zip.ZipException: invalid code lengths set
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[193,62] incompatible types: org.bukkit.inventory.HorseInventory cannot be converted to org.bukkit.inventory.Inventory
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[319,64] cannot access org.bukkit.inventory.ItemFactory
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/ItemFactory.class)
    unable to access file: java.util.zip.ZipException: invalid code lengths set
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/event/NPCVehicleDamageEvent.java:[17,24] cannot access org.bukkit.event.vehicle.VehicleEvent
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/event/vehicle/VehicleEvent.class)
    unable to access file: java.util.zip.ZipException: invalid stored block lengths
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[57,36] cannot access org.bukkit.material.Openable
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Openable.class)
    unable to access file: java.util.zip.ZipException: invalid code lengths set
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[83,52] cannot access org.bukkit.material.Door
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Door.class)
    unable to access file: java.util.zip.ZipException: invalid distance too far back
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[110,27] cannot access org.bukkit.scheduler.BukkitTask
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/scheduler/BukkitTask.class)
    unable to access file: java.util.zip.ZipException: invalid distance too far back
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java:[33,115] cannot access org.bukkit.plugin.ServicesManager
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/plugin/ServicesManager.class)
    unable to access file: java.util.zip.ZipException: invalid block type
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[83,28] cannot access org.bukkit.metadata.LazyMetadataValue
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/LazyMetadataValue.class)
    unable to access file: java.util.zip.ZipException: invalid block type
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[91,28] cannot access org.bukkit.metadata.MetadataValue
  bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/MetadataValue.class)
    unable to access file: java.util.zip.ZipException: invalid stored block lengths
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.508 s
[INFO] Finished at: 2023-03-30T15:23:33Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project citizensapi: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[177,55] cannot access org.bukkit.loot.Lootable
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/loot/Lootable.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid block type
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[183,61] cannot access org.bukkit.inventory.AbstractHorseInventory
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/AbstractHorseInventory.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid stored block lengths
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[188,53] cannot access org.bukkit.inventory.HorseInventory
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/HorseInventory.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid code lengths set
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/Inventory.java:[193,62] incompatible types: org.bukkit.inventory.HorseInventory cannot be converted to org.bukkit.inventory.Inventory
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/util/ItemStorage.java:[319,64] cannot access org.bukkit.inventory.ItemFactory
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/inventory/ItemFactory.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid code lengths set
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/event/NPCVehicleDamageEvent.java:[17,24] cannot access org.bukkit.event.vehicle.VehicleEvent
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/event/vehicle/VehicleEvent.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid stored block lengths
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[57,36] cannot access org.bukkit.material.Openable
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Openable.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid code lengths set
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[83,52] cannot access org.bukkit.material.Door
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/material/Door.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid distance too far back
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.java:[110,27] cannot access org.bukkit.scheduler.BukkitTask
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/scheduler/BukkitTask.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid distance too far back
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/trait/trait/PlayerFilter.java:[33,115] cannot access org.bukkit.plugin.ServicesManager
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/plugin/ServicesManager.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid block type
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[83,28] cannot access org.bukkit.metadata.LazyMetadataValue
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/LazyMetadataValue.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid block type
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java:[91,28] cannot access org.bukkit.metadata.MetadataValue
[ERROR] bad class file: /var/lib/jenkins/.m2/repository/org/spigotmc/spigot-api/1.19.4-R0.1-SNAPSHOT/spigot-api-1.19.4-R0.1-SNAPSHOT.jar(/org/bukkit/metadata/MetadataValue.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid stored block lengths
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[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