Jump to content

Modded MC 1.16.5 server, crashes on startup


TheVexTv

Recommended Posts

Forge 1.16.5-36.2.0, Java 11, 4GB RAM, every time the server tries to start I get this:
 

Tue, 03 Aug 2021 19:46:39 +0200: Starting Gameserver

Starting Gameserver now...

[17:46:41] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]

[17:46:41] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_292 by Red Hat, Inc.

Exception in thread "main" java.lang.NoClassDefFoundError: cpw/mods/gross/Java9ClassLoaderUtil

The Server was set up with the official forge installer and copied to another machine.

Link to comment
Share on other sites

The server is set to start the "forge-1.16.5.jar" file automatically
(it opens any file named "ftbserver.jar" which is the "forge-1.16.5.jar"-file but renamed)
I've now chosen an earlier FML version and it works on my machine, i'm gonna save the non-working version for further investigation now, I want to know what went wrong

Link to comment
Share on other sites

The virtual machine is set to open the "ftbserver.jar" file. The installer has been used correctly, I did the same thing with an earlier version, it works now. The generated files were not modified after generating at all, they were simply copied to the virutal machine

Link to comment
Share on other sites

the latest.log doesn't say anything useful:

 

This is what I get in the console:

Tue, 03 Aug 2021 22:40:52 +0200: Starting Gameserver

Starting Gameserver now...

[20:40:54] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]

[20:40:54] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_292 by Red Hat, Inc.

Exception in thread "main" java.lang.NoClassDefFoundError: cpw/mods/gross/Java9ClassLoaderUtil

at cpw.mods.modlauncher.TransformationServicesHandler.discoverServices(TransformationServicesHandler.java:139)

at cpw.mods.modlauncher.Launcher.run(Launcher.java:75)

at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)

at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)

at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)latest.log

at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)

Caused by: java.lang.ClassNotFoundException: cpw.mods.gross.Java9ClassLoaderUtil

at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)

at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

... 6 more

Gameserver exited without success - 1

Exiting now...
 

 

Link to comment
Share on other sites

Since you appear to be german:

Ich habe mit dem offiziellen Forge Installer einen Forge Server auf meinem eigenen Rechner in einen Extraordner installiert. Ich hab die sich darin befindende forge Version gestartet, die EULA akzeptiert und nochmal gestartet bis das die Konsole aufgeht. Dann den Server beendet und auf die VM kopiert, dann den Mod Ordner eingefügt. Die VM ist über ftp erreichbar.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi, I want to make a client-only mod, everything is ok, but when I use shaders, none of the textures rendered in RenderLevelStageEvent nor the crow entity model are rendered, I want them to be visible, because it's a horror themed mod Here is how i render the crow model in the CrowEntityRenderer<CrowEntity>, by the time i use this method, i know is not the right method but i don't think this is the cause of the problem, the renderType i'm using is entityCutout @Override public void render(CrowEntity p_entity, float entityYaw, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) { super.render(p_entity, entityYaw, partialTick, poseStack, bufferSource, packedLight); ClientEventHandler.getClient().crow.renderToBuffer(poseStack, bufferSource.getBuffer(ClientEventHandler.getClient().crow .renderType(TEXTURE)), packedLight, OverlayTexture.NO_OVERLAY, Utils.rgb(255, 255, 255)); } Here renderLevelStage @Override public void renderWorld(RenderLevelStageEvent e) { horrorEvents.draw(e); } Here is how i render every event public void draw(RenderLevelStageEvent e) { for (HorrorEvent event : currentHorrorEvents) { event.tick(e.getPartialTick()); event.draw(e); } } Here is how i render the crow model on the event @Override public void draw(RenderLevelStageEvent e) { if(e.getStage() == RenderLevelStageEvent.Stage.AFTER_ENTITIES) { float arcProgress = getArcProgress(0.25f); int alpha = (int) Mth.lerp(arcProgress, 0, 255); int packedLight = LevelRenderer.getLightColor(Minecraft.getInstance().level, blockPos); VertexConsumer builder = ClientEventHandler.bufferSource.getBuffer(crow); Crow<CreepyBirdHorrorEvent> model = ClientEventHandler .getClient().crow; model.setupAnim(this); RenderHelper.renderModelInWorld(model, position, offset, e.getCamera(), e.getPoseStack(), builder, packedLight, OverlayTexture.NO_OVERLAY, alpha); builder = ClientEventHandler.bufferSource.getBuffer(eyes); RenderHelper.renderModelInWorld(model, position, offset, e.getCamera(), e.getPoseStack(), builder, 15728880, OverlayTexture.NO_OVERLAY, alpha); } } How i render the model public static void renderModelInWorld(Model model, Vector3f pos, Vector3f offset, Camera camera, PoseStack matrix, VertexConsumer builder, int light, int overlay, int alpha) { matrix.pushPose(); Vec3 cameraPos = camera.getPosition(); double finalX = pos.x - cameraPos.x + offset.x; double finalY = pos.y - cameraPos.y + offset.y; double finalZ = pos.z - cameraPos.z + offset.z; matrix.pushPose(); matrix.translate(finalX, finalY, finalZ); matrix.mulPose(Axis.XP.rotationDegrees(180f)); model.renderToBuffer(matrix, builder, light, overlay, Utils .rgba(255, 255, 255, alpha)); matrix.popPose(); matrix.popPose(); } Thanks in advance
    • Fastfund Recovery are the world's top-notch hackers known for their excellent service rendered to scam victims helping them get their funds reclaimed back to their wallets and accounts around the globe with other general hacker service/cyber issues. Fastfunds Recovery Service are trusted and reliable digital online platform with trusted hackers for all kinds of cyber issues. * E/mail: Fastfundrecovery8 at gmail dot com * Whats//App : 1..807..500-.75.54
    • Here's the link: https://mclo.gs/7L5FibL Here's the link: https://mclo.gs/7L5FibL
    • Also the mod "Connector Extras" modifies Reach-entity-attributes and can cause fatal errors when combined with ValkrienSkies mod. Disable this mod and continue to use Syntra without it.
    • Hi everyone. I was trying modify the vanilla loot of the "short_grass" block, I would like it drops seeds and vegetal fiber (new item of my mod), but I don't found any guide or tutorial on internet. Somebody can help me?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.