Clear Water

Clear Water

2M Downloads

Server cannot start

FurryRbl opened this issue ยท 1 comments

commented

Error Log:

[23:29:24] [main/ERROR]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'clearwater' at 'koala.clearwater.fabric.ClearWaterFabric'!
        at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) ~[fabric-loader-0.16.4.jar:?]
        at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.16.4.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) ~[fabric-loader-0.16.4.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~[fabric-loader-0.16.4.jar:?]
        at net.minecraft.server.Main.main(Main.java:112) ~[server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) ~[fabric-loader-0.16.4.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.16.4.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.16.4.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.16.4.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/class_6854
        at java.lang.Class.getDeclaredFields0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:?]
        at java.lang.Class.getDeclaredFields(Unknown Source) ~[?:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigParser.parseData(ConfigParser.java:43) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigParser.parseData(ConfigParser.java:67) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigParser.parseConfig(ConfigParser.java:24) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigLoaderImpl.registerConfig(ConfigLoaderImpl.java:23) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.Configurator.registerConfig(Configurator.java:28) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at koala.clearwater.ClearWater.init(ClearWater.java:19) ~[Clear-Water-2.1.jar:?]
        at koala.clearwater.fabric.ClearWaterFabric.onInitialize(ClearWaterFabric.java:10) ~[Clear-Water-2.1.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399) ~[fabric-loader-0.16.4.jar:?]
        ... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.class_6854
        at jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) ~[?:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.16.4.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.16.4.jar:?]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
        at java.lang.Class.getDeclaredFields0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:?]
        at java.lang.Class.getDeclaredFields(Unknown Source) ~[?:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigParser.parseData(ConfigParser.java:43) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigParser.parseData(ConfigParser.java:67) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigParser.parseConfig(ConfigParser.java:24) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.impl.ConfigLoaderImpl.registerConfig(ConfigLoaderImpl.java:23) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at com.teamresourceful.resourcefulconfig.common.config.Configurator.registerConfig(Configurator.java:28) ~[resourcefulconfig-fabric-1.20.1-2.1.2.jar:?]
        at koala.clearwater.ClearWater.init(ClearWater.java:19) ~[Clear-Water-2.1.jar:?]
        at koala.clearwater.fabric.ClearWaterFabric.onInitialize(ClearWaterFabric.java:10) ~[Clear-Water-2.1.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399) ~[fabric-loader-0.16.4.jar:?]
        ... 6 more

I think the entrypoints of fabric.mod.json is wrong.

original:

{
  "schemaVersion": 1,
  "id": "clearwater",
  "version": "${version}",
  "name": "Clear Water",
  "description": "See clearly under water!",
  "authors": [
    "ExpensiveKoala",
    "AlexNijjar"
  ],
  "contact": {
    "website": "https://www.curseforge.com/minecraft/mc-mods/clear-water",
    "repo": "https://github.com/ExpensiveKoala/Clear-Water",
    "issues": "https://github.com/ExpensiveKoala/Clear-Water/issues"
  },
  "license": "MIT",
  "icon": "icon.png",
  "environment": "*",
  "entrypoints": {
    "main": [
      "koala.clearwater.fabric.ClearWaterFabric"
    ],
    "client": [
    ],
    "modmenu": [
      "koala.clearwater.fabric.ModMenuIntegration"
    ]
  },
  "mixins": [
    "clearwater.mixins.json"
  ],
  "depends": {
    "fabricloader": ">=0.14.22",
    "minecraft": ">=1.20",
    "resourcefulconfig": ">=2.0.0"
  }
}

After Repair:

{
  "schemaVersion": 1,
  "id": "clearwater",
  "version": "${version}",
  "name": "Clear Water",
  "description": "See clearly under water!",
  "authors": [
    "ExpensiveKoala",
    "AlexNijjar"
  ],
  "contact": {
    "website": "https://www.curseforge.com/minecraft/mc-mods/clear-water",
    "repo": "https://github.com/ExpensiveKoala/Clear-Water",
    "issues": "https://github.com/ExpensiveKoala/Clear-Water/issues"
  },
  "license": "MIT",
  "icon": "icon.png",
  "environment": "*",
  "entrypoints": {
    "client": [
      "koala.clearwater.fabric.ClearWaterFabric"
    ],
    "modmenu": [
      "koala.clearwater.fabric.ModMenuIntegration"
    ]
  },
  "mixins": [
    "clearwater.mixins.json"
  ],
  "depends": {
    "fabricloader": ">=0.14.22",
    "minecraft": ">=1.20",
    "resourcefulconfig": ">=2.0.0"
  }
}
commented