启动技术启动器上的Minecraft服务器错误

时间:2018-04-16 04:12:44

标签: java server minecraft

尝试为我的世界制作Tekkit Lite服务器并且我有一些编码问题。 当我制作服务器并运行bat文件时:

java -Xmx3G -Xms2G -jar TekkitLite.jar nogui
pause

然后我收到错误:

Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoader$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
    at cpw.mods.fml.relauncher.FMLRelauncher.<init>(FMLRelauncher.java:48)
    at cpw.mods.fml.relauncher.FMLRelauncher.instance(FMLRelauncher.java:40)

    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1376)

我为Minecraft java版安装了最新的JRE 8和JDK 8,但仍无济于事。

0 个答案:

没有答案