Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.5.2 & 1.6.4: runServer #12

Open
Hummel009 opened this issue Feb 21, 2024 · 0 comments
Open

1.5.2 & 1.6.4: runServer #12

Hummel009 opened this issue Feb 21, 2024 · 0 comments

Comments

@Hummel009
Copy link

I am using Voldeloom with Gradle 8.5-8.6. That works perfect, when I am using build and runClient, but runServer doesn't work.

The problem is with 1.5.2 and 1.6.4 only, because runServer in 1.3.2 and 1.4.7 works well.

Also I should say, that I have three simple mods, and every contains the same crash log. These mods exist on 1.4.7, 1.5.2 and so on, and their code on these versions is almost equal (and, as I said, everything is ok with 1.4.7, so I don't think the problem is in the code).

Crash log:

2024-02-21 23:11:39 [INFO] [STDERR] java.lang.reflect.InvocationTargetException
2024-02-21 23:11:39 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-02-21 23:11:39 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2024-02-21 23:11:39 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-02-21 23:11:39 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Method.java:498)
2024-02-21 23:11:39 [INFO] [STDERR] at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:152)
2024-02-21 23:11:39 [INFO] [STDERR] at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)
2024-02-21 23:11:39 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)
2024-02-21 23:11:39 [INFO] [STDERR] Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/AnvilConverterException
2024-02-21 23:11:39 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.(MinecraftServer.java:173)
2024-02-21 23:11:39 [INFO] [STDERR] at net.minecraft.server.dedicated.DedicatedServer.(DedicatedServer.java:49)
2024-02-21 23:11:39 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.fmlReentry(MinecraftServer.java:1443)
2024-02-21 23:11:39 [INFO] [STDERR] ... 7 more
2024-02-21 23:11:39 [INFO] [STDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.client.AnvilConverterException
2024-02-21 23:11:39 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
2024-02-21 23:11:39 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
2024-02-21 23:11:39 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
2024-02-21 23:11:39 [INFO] [STDERR] ... 10 more
2024-02-21 23:11:39 [INFO] [STDERR] Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/AnvilConverterException for invalid side SERVER
2024-02-21 23:11:39 [INFO] [STDERR] at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
2024-02-21 23:11:39 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:352)
2024-02-21 23:11:39 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:225)
2024-02-21 23:11:39 [INFO] [STDERR] ... 12 more
23:11:39: Execution finished 'runServer'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant