迷上城建的bug导致服务器无法启动
本帖最后由 Meow 于 2024-4-30 23:10 编辑1.19.4fab服务器,加了mtr、nte、joban、钠、钠头站、mrp、brrp、fabric api、沉浸画框、MTRUtility、简单的灯、Xaeros的小地图、Xaeros的世界地图、iris、沉浸工程、MSD
用1.2.7的迷上城建没法放方块,其他版本的报错
服务器报错:
: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'mishanguc'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388) ~
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386) ~
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~
at net.minecraft.server.Main.main(Main.java:112) ~
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~
at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~
Suppressed: java.lang.NoClassDefFoundError: Could not initialize class pers.solid.mishang.uc.item.MishangucItems
at jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) ~[?:?]
at jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) ~[?:?]
at jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300) ~[?:?]
at jdk.internal.reflect.MethodHandleAccessorFactory.newFieldAccessor(MethodHandleAccessorFactory.java:140) ~[?:?]
at jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:145) ~[?:?]
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1185) ~[?:?]
at java.lang.reflect.Field.getFieldAccessor(Field.java:1164) ~[?:?]
at java.lang.reflect.Field.get(Field.java:442) ~[?:?]
at pers.solid.mishang.uc.MishangUtils.lambda$instanceEntryStream$4(MishangUtils.java:263) ~
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at pers.solid.mishang.uc.MishangUtils.itemsInternal(MishangUtils.java:214) ~
at com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183) ~
at pers.solid.mishang.uc.MishangUtils.items(MishangUtils.java:239) ~
at pers.solid.mishang.uc.arrp.ARRPMain.generateResources(ARRPMain.java:670) ~
at pers.solid.mishang.uc.arrp.ARRPMain.onInitialize(ARRPMain.java:849) ~
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384) ~
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~
at net.minecraft.server.Main.main(Main.java:112) ~
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~
at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: Class pers.solid.mishang.uc.item.ColumnBuildingTool does not have member field 'org.apache.commons.lang3.tuple.Triple clientTempMemory'
at pers.solid.mishang.uc.item.ColumnBuildingTool.<clinit>(ColumnBuildingTool.java:54) ~
at pers.solid.mishang.uc.item.MishangucItems.<clinit>(MishangucItems.java:30) ~
at pers.solid.mishang.uc.Mishanguc.onInitialize(Mishanguc.java:548) ~
... 8 more
Caused by: java.lang.NoSuchFieldError: Class pers.solid.mishang.uc.item.ColumnBuildingTool does not have member field 'org.apache.commons.lang3.tuple.Triple clientTempMemory'
at pers.solid.mishang.uc.item.ColumnBuildingTool.<clinit>(ColumnBuildingTool.java:54) ~
at pers.solid.mishang.uc.item.MishangucItems.<clinit>(MishangucItems.java:30) ~
at pers.solid.mishang.uc.Mishanguc.onInitialize(Mishanguc.java:548) ~
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384) ~
... 7 more
不是你把钠加到服务器里? 解决方法:把它删掉(似乎是他的12个左右物品出了问题 可以重新下载,包括前置模组 Emerald_Rail 发表于 2024-5-1 06:04
不是你把钠加到服务器里?
会出bug吗? 哼哼哼 发表于 2024-5-1 08:11
可以重新下载,包括前置模组
我重下5次了也没见好 Meow 发表于 2024-5-1 19:29
会出bug吗?
客户端mod你加到服务器里当然会出bug,也可能导致无法启动服务器 Emerald_Rail 发表于 2024-5-2 11:48
客户端mod你加到服务器里当然会出bug,也可能导致无法启动服务器
所以说全都删了是吗,我这有几个模组前置是钠,也是废了? 我之前把纳加到服务器里,纳没有加载,但幸运的是没出问题,但是纳好像确实是客户端mod,建议放到mc.文件夹的mods文件夹里面,其他模组应该也可以正常加载(仅供参考) 本帖最后由 MCWinBuild 于 2024-6-28 15:09 编辑
Meow 发表于 2024-5-1 19:29
会出bug吗?
钠属于客户端优化mod,加服务器很可能BOOM,我上次就炸了
这个钠应该只放客户端
你需要钠的mod到底是哪些?
页:
[1]
2