Can't build dynmap: failed for task ':forge-1.14.4:compileJava'
Mythologyli opened this issue ยท 1 comments
Issue Description:
I try to build the newest version of dynmap using Github Action, with ubuntu 18.04. But the build process failed for task ':forge-1.14.4:compileJava'. I used java 1.8 and ./gradlew clean build install.
Here is my Github Action set:
name: Build dynmap
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
workflow_dispatch:
schedule:
- cron: '00 18 * * *'
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build install
- uses: actions/upload-artifact@v2
with:
name: Package
path: targets
Here is the error log:
> Task :forge-1.13.2:processResources
> Task :forge-1.13.2:classes
> Task :forge-1.13.2:deobfJar
> Task :forge-1.13.2:jar
> Task :forge-1.13.2:downloadMcpConfig
> Task :forge-1.13.2:extractSrg
> Task :forge-1.13.2:createMcpToSrg
> Task :forge-1.13.2:reobfJar
> Task :forge-1.13.2:shadowJar
> Task :forge-1.13.2:reobfShadowJar
> Task :forge-1.13.2:assemble
> Task :forge-1.13.2:compileTestJava NO-SOURCE
> Task :forge-1.13.2:processTestResources NO-SOURCE
> Task :forge-1.13.2:testClasses UP-TO-DATE
> Task :forge-1.13.2:test NO-SOURCE
> Task :forge-1.13.2:check UP-TO-DATE
> Task :forge-1.13.2:build
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:14: error: package net.minecraft.nbt does not exist
> Task :forge-1.14.4:compileJava FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings
134 actionable tasks: 120 executed, 14 up-to-date
import net.minecraft.nbt.ByteArrayNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:15: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.ByteNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:16: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.CompoundNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:17: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.CompressedStreamTools;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:18: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.DoubleNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:19: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.FloatNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:20: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.INBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:21: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.IntArrayNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:22: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.IntNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:23: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.ListNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:24: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.LongNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:25: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.ShortNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:26: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.StringNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:27: error: package net.minecraft.util.math does not exist
import net.minecraft.util.math.ChunkPos;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:28: error: package net.minecraft.world does not exist
import net.minecraft.world.World;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:29: error: package net.minecraft.world.biome does not exist
import net.minecraft.world.biome.Biome;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:30: error: package net.minecraft.world.chunk does not exist
import net.minecraft.world.chunk.AbstractChunkProvider;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:31: error: package net.minecraft.world.chunk does not exist
import net.minecraft.world.chunk.Chunk;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:32: error: package net.minecraft.world.chunk does not exist
import net.minecraft.world.chunk.ChunkStatus;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:33: error: package net.minecraft.world.chunk.storage does not exist
import net.minecraft.world.chunk.storage.ChunkSerializer;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:34: error: package net.minecraft.world.chunk.storage does not exist
import net.minecraft.world.chunk.storage.RegionFileCache;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:35: error: package net.minecraft.world.server does not exist
import net.minecraft.world.server.ChunkManager;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:36: error: package net.minecraft.world.server does not exist
import net.minecraft.world.server.ServerChunkProvider;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:37: error: package net.minecraft.world.server does not exist
import net.minecraft.world.server.ServerWorld;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:68: error: cannot find symbol
private World w;
^
symbol: class World
location: class ForgeMapChunkCache
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:70: error: cannot find symbol
private ServerChunkProvider cps;
^
symbol: class ServerChunkProvider
location: class ForgeMapChunkCache
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ChunkSnapshot.java:8: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.CompoundNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ChunkSnapshot.java:9: error: package net.minecraft.nbt does not exist
import net.minecraft.nbt.ListNBT;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ChunkSnapshot.java:10: error: package net.minecraft.util does not exist
import net.minecraft.util.BitArray;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:7: error: package net.minecraft.util.math does not exist
import net.minecraft.util.math.BlockPos;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:8: error: package net.minecraft.world.dimension does not exist
import net.minecraft.world.dimension.Dimension;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:9: error: package net.minecraft.world.dimension does not exist
import net.minecraft.world.dimension.DimensionType;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:10: error: package net.minecraft.world.dimension does not exist
import net.minecraft.world.dimension.EndDimension;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:11: error: package net.minecraft.world.dimension does not exist
import net.minecraft.world.dimension.NetherDimension;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:12: error: package net.minecraft.world.gen.Heightmap does not exist
import net.minecraft.world.gen.Heightmap.Type;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:13: error: package net.minecraft.world does not exist
import net.minecraft.world.IWorld;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:14: error: package net.minecraft.world does not exist
import net.minecraft.world.LightType;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:15: error: package net.minecraft.world does not exist
import net.minecraft.world.World;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:16: error: package net.minecraft.world.border does not exist
import net.minecraft.world.border.WorldBorder;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:996: error: cannot find symbol
public CompoundNBT readChunk(int x, int z) {
^
symbol: class CompoundNBT
location: class ForgeMapChunkCache
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:1021: error: cannot find symbol
private Object getNBTValue(INBT v) {
^
symbol: class INBT
location: class ForgeMapChunkCache
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeMapChunkCache.java:1146: error: cannot find symbol
private SnapshotRec prepChunkSnapshot(DynmapChunk chunk, CompoundNBT nbt) {
^
symbol: class CompoundNBT
location: class ForgeMapChunkCache
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ChunkSnapshot.java:122: error: cannot find symbol
public ChunkSnapshot(CompoundNBT nbt, int worldheight) {
^
symbol: class CompoundNBT
location: class ChunkSnapshot
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:26: error: cannot find symbol
private IWorld world;
^
symbol: class IWorld
location: class ForgeWorld
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:45: error: cannot find symbol
public static String getWorldName(IWorld w) {
^
symbol: class IWorld
location: class ForgeWorld
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:75: error: cannot find symbol
public ForgeWorld(IWorld w)
^
symbol: class IWorld
location: class ForgeWorld
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:168: error: cannot find symbol
public void setWorldLoaded(IWorld w) {
^
symbol: class IWorld
location: class ForgeWorld
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/ForgeWorld.java:234: error: cannot find symbol
public World getWorld()
^
symbol: class World
location: class ForgeWorld
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:29: error: package net.minecraft.block does not exist
import net.minecraft.block.Block;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:30: error: package net.minecraft.block does not exist
import net.minecraft.block.BlockState;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:31: error: package net.minecraft.block does not exist
import net.minecraft.block.FlowingFluidBlock;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:32: error: package net.minecraft.block.material does not exist
import net.minecraft.block.material.Material;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:33: error: package net.minecraft.command does not exist
import net.minecraft.command.CommandException;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:34: error: package net.minecraft.command does not exist
import net.minecraft.command.CommandSource;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:35: error: package net.minecraft.command does not exist
import net.minecraft.command.Commands;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:36: error: package net.minecraft.entity does not exist
import net.minecraft.entity.Entity;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:37: error: package net.minecraft.entity.player does not exist
import net.minecraft.entity.player.PlayerEntity;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:38: error: package net.minecraft.entity.player does not exist
import net.minecraft.entity.player.ServerPlayerEntity;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:39: error: package net.minecraft.item does not exist
import net.minecraft.item.Item;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:40: error: package net.minecraft.network does not exist
import net.minecraft.network.NetworkManager;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:41: error: package net.minecraft.network.play does not exist
import net.minecraft.network.play.ServerPlayNetHandler;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:42: error: package net.minecraft.network.play.server does not exist
import net.minecraft.network.play.server.STitlePacket;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:43: error: package net.minecraft.particles does not exist
import net.minecraft.particles.IParticleData;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:44: error: package net.minecraft.server does not exist
import net.minecraft.server.MinecraftServer;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:45: error: package net.minecraft.server.management does not exist
import net.minecraft.server.management.BanList;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:46: error: package net.minecraft.server.management does not exist
import net.minecraft.server.management.IPBanList;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:47: error: package net.minecraft.server.management does not exist
import net.minecraft.server.management.PlayerProfileCache;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:48: error: package net.minecraft.util does not exist
import net.minecraft.util.ObjectIntIdentityMap;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:49: error: package net.minecraft.util does not exist
import net.minecraft.util.ResourceLocation;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:50: error: package net.minecraft.util does not exist
import net.minecraft.util.SoundCategory;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:51: error: package net.minecraft.util does not exist
import net.minecraft.util.SoundEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:52: error: package net.minecraft.util.math does not exist
import net.minecraft.util.math.BlockPos;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:53: error: package net.minecraft.util.math does not exist
import net.minecraft.util.math.ChunkPos;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:54: error: package net.minecraft.util.registry does not exist
import net.minecraft.util.registry.Registry;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:55: error: package net.minecraft.util.text does not exist
import net.minecraft.util.text.ITextComponent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:56: error: package net.minecraft.util.text does not exist
import net.minecraft.util.text.StringTextComponent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:57: error: package net.minecraft.world does not exist
import net.minecraft.world.IBlockReader;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:58: error: package net.minecraft.world does not exist
import net.minecraft.world.IWorld;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:59: error: package net.minecraft.world does not exist
import net.minecraft.world.World;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:60: error: package net.minecraft.world.biome does not exist
import net.minecraft.world.biome.Biome;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:61: error: package net.minecraft.world.chunk does not exist
import net.minecraft.world.chunk.Chunk;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:62: error: package net.minecraft.world.chunk does not exist
import net.minecraft.world.chunk.ChunkSection;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:63: error: package net.minecraft.world.chunk does not exist
import net.minecraft.world.chunk.ChunkStatus;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:64: error: package net.minecraft.world.chunk does not exist
import net.minecraft.world.chunk.IChunk;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:65: error: package net.minecraft.world.server does not exist
import net.minecraft.world.server.ChunkHolder;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:66: error: package net.minecraft.world.server does not exist
import net.minecraft.world.server.ServerWorld;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:67: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.MinecraftForge;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:68: error: package net.minecraftforge.event does not exist
import net.minecraftforge.event.ServerChatEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:69: error: package net.minecraftforge.event does not exist
import net.minecraftforge.event.TickEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:70: error: package net.minecraftforge.event.entity.player.PlayerEvent does not exist
import net.minecraftforge.event.entity.player.PlayerEvent.PlayerChangedDimensionEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:71: error: package net.minecraftforge.event.entity.player.PlayerEvent does not exist
import net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:72: error: package net.minecraftforge.event.entity.player.PlayerEvent does not exist
import net.minecraftforge.event.entity.player.PlayerEvent.PlayerLoggedOutEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:73: error: package net.minecraftforge.event.entity.player.PlayerEvent does not exist
import net.minecraftforge.event.entity.player.PlayerEvent.PlayerRespawnEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:74: error: package net.minecraftforge.event.world does not exist
import net.minecraftforge.event.world.BlockEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:75: error: package net.minecraftforge.event.world does not exist
import net.minecraftforge.event.world.ChunkDataEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:76: error: package net.minecraftforge.event.world does not exist
import net.minecraftforge.event.world.ChunkEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:77: error: package net.minecraftforge.event.world does not exist
import net.minecraftforge.event.world.WorldEvent;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:78: error: package net.minecraftforge.fml does not exist
import net.minecraftforge.fml.ModList;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:79: error: package net.minecraftforge.fml does not exist
import net.minecraftforge.fml.ModContainer;
^
/home/runner/work/dynmap/dynmap/forge-1.14.4/src/main/java/org/dynmap/forge_1_14_4/DynmapPlugin.java:80: error: package net.minecraftforge.registries does not exist
import net.minecraftforge.registries.ForgeRegistries;
^
100 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':forge-1.14.4:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17m 49s
Error: Process completed with exit code 1.
- Dynmap Version: dynmap v3.0 branch
- Server Version:
- Pastebin of Configuration.txt:
- Server Host (if applicable):
- Pastebin of crashlogs or other relevant logs: https://download.mythologyli.cn/errorlog.txt
- Other Relevant Data/Screenshots:
- Steps to Replicate:
[X] I have looked at all other issues and this is not a duplicate
[X] I have been able to replicate this
I know this is a relatively older bug report, and this isn't truly a "solution" but I went into the build directory and removed the build folders for any versions of the server I don't plan to need. This allowed me to build a 'hopefully' successful spigot version. I say hopefully, because I haven't gotten to add it to my server yet, as players are online and I don't want to kick them for a server reset. The build did complete successfully though.
EDIT: Yes, the spigot build was successful and has been comfortably running on my paper server for the past two days. The only problem I still have is Dynmap throwing its error about a stale mysql connection, which should be fixable if I can figure out how to use a connection pool instead of a single connection for MariaDB which times out, errors, and then reconnects. It doesn't affect the function of Dynmap, but it does muddy my logs with useless error messages.