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.20.1] Crashing not able to find class file. #3222

Closed
MrBloom2037 opened this issue Jul 7, 2024 · 6 comments
Closed

[1.20.1] Crashing not able to find class file. #3222

MrBloom2037 opened this issue Jul 7, 2024 · 6 comments

Comments

@MrBloom2037
Copy link

Minecraft Version : 1.20.1

Mohist Version : 1.20.1-775

Operating System : Windows 11 (amd64) version 10.0

JVM Version: 21.0.2

Concerned mod / plugin : JEG 0.5.3 | JustEnoughGuns | https://www.curseforge.com/minecraft/mc-mods/just-enough-guns

Logs : https://pastebin.com/wquP8YY7

Steps to Reproduce :

  1. Add mod to mods folder
  2. Start server, server gets to mod initialization.
  3. Server crashes due to the server unable to find the class even though the class file is present.

Description of issue : java.lang.NoClassDefFoundError: ttv/migami/jeg/item/AnimatedGunItem is specific to the class but isn't specific as to why it cannot load the mods class file though its present in the jar file.

@Mgazul
Copy link
Contributor

Mgazul commented Jul 7, 2024

Use java17 for testing, don't use java21

@MrBloom2037
Copy link
Author

Use java17 for testing, don't use java21

I'll build a version of Mohist standalone to run using JDK 17, I'm unsure its the JVM build thats causing it though.

@MrBloom2037
Copy link
Author

MrBloom2037 commented Jul 7, 2024

Use java17 for testing, don't use java21

https://pastebin.com/dJi8Crj5
Recent crash report with JVM 17.0.11
This is with the mod by itself in the mods directory.

@Mgazul
Copy link
Contributor

Mgazul commented Jul 7, 2024

After testing, you need to install geckolib mod to run

@Mgazul Mgazul closed this as completed Jul 7, 2024
@MrBloom2037
Copy link
Author

After testing, you need to install geckolib mod to run

really wow, thank you for letting me know I'll run a test on my experimental server to see if this fixes it.

@MrBloom2037
Copy link
Author

Your fix was absolutely on point even the mod developer pointed out that, glad for your help it didn't show that the mod was missing in the stacktrace I had so I am shocked you were able to find it.

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

2 participants