MC百科社群

标题: 服务器弄好了但是运行不了 [打印本页]

作者: guliyuan_    时间: 2023-10-17 17:07
标题: 服务器弄好了但是运行不了
Hello from pixelcloud
[17:03:50] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 2:141 token recognition error at: ';'
[17:03:50] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 13:0 token recognition error at: '`'
Init CreativeCore coremods ...
[17:03:52] [main/ERROR] [mixin/]: Mixin config modernworldcreation.mixin.json does not specify "minVersion" property
Exception in thread "main" org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config opotato.mixins.json
        at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153)
        at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100)
        at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87)
        at org.spongepowered.asm.launch.platform.MixinPlatformManager.addConfig(MixinPlatformManager.java:262)
        at org.spongepowered.asm.launch.platform.MixinPlatformAgentDefault.prepare(MixinPlatformAgentDefault.java:46)
        at org.spongepowered.asm.launch.platform.MixinContainer.prepare(MixinContainer.java:122)
        at org.spongepowered.asm.launch.platform.MixinPlatformManager.createContainerFor(MixinPlatformManager.java:144)
        at org.spongepowered.asm.launch.platform.MixinPlatformManager.addContainer(MixinPlatformManager.java:134)
        at org.spongepowered.asm.launch.platform.MixinPlatformManager.addNestedContainers(MixinPlatformManager.java:152)
        at org.spongepowered.asm.launch.platform.MixinPlatformManager.scanForContainers(MixinPlatformManager.java:213)
        at org.spongepowered.asm.launch.platform.MixinPlatformManager.inject(MixinPlatformManager.java:186)
        at org.spongepowered.asm.launch.MixinBootstrap.inject(MixinBootstrap.java:202)
        at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.initializeLaunch(MixinLaunchPluginLegacy.java:201)
        at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.initializeLaunch(MixinLaunchPluginLegacy.java:195)
        at cpw.mods.modlauncher.LaunchPluginHandler.lambda$announceLaunch$9(LaunchPluginHandler.java:97)
        at cpw.mods.modlauncher.LaunchPluginHandler$$Lambda$462/0x00000000d055e2f0.accept(Unknown Source)
        at java.util.HashMap.forEach(HashMap.java:1289)
        at cpw.mods.modlauncher.LaunchPluginHandler.announceLaunch(LaunchPluginHandler.java:97)
        at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:52)
        at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
        at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:49)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:46)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:43)
Caused by: java.lang.IllegalArgumentException: The requested compatibility level JAVA_11 could not be set. Level is not supported by the active JRE or ASM version (Java 1.8, ASM 9.1 (ASM10_EXPERIMENTAL))
        at org.spongepowered.asm.mixin.MixinEnvironment.setCompatibilityLevel(MixinEnvironment.java:1570)
        at org.spongepowered.asm.mixin.transformer.MixinConfig.initCompatibilityLevel(MixinConfig.java:555)
        at org.spongepowered.asm.mixin.transformer.MixinConfig.postInit(MixinConfig.java:500)
        at org.spongepowered.asm.mixin.transformer.MixinConfig.onLoad(MixinConfig.java:428)
        at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1285)
        at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148)
        ... 24 more
作者: QQ酱117159    时间: 2023-10-19 11:40
客户端Mod别放服务端等问题都避免了吗
作者: 海之扩天    时间: 2023-10-19 14:41
本帖最后由 海之扩天 于 2023-10-19 14:46 编辑

Mixin 要求 Java 版本至少为 11(你使用的是 8)。请至少使用 Java 16 加载服务端,建议使用 Java 17

作者: Author87668    时间: 2023-11-5 21:58
请问服务端版本




欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科