-
Notifications
You must be signed in to change notification settings - Fork 36
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
NoClassDefFoundError on 1.12.2 #17
Comments
If anyone else is having this issue, here is a workaround. Go to org.darkstorm.minecraft.gui.theme.simple.SimpleTheme.java and replace fontRenderer = new UnicodeFontRenderer(new Font("Trebuchet MS", Font.PLAIN, 15)); with: fontRenderer = Minecraft.getMinecraft().fontRendererObj; This isn't perfect as it means that the fancy font the GUI was using will be replaced with the default minecraft font, however at least it works. |
Or you could just read the README and use slick2d library. Either works. |
Was using slick2d @Frontear |
According to your own comment That, or you used a version which didn't contain certain classes. |
Probably was a problem with eclipse linking the library, although I would’ve expected more errors for all the other slick2d implementations |
Hi, I'm not sure if you're interested in maintaining this project, however at the moment when packaging this with for 1.12.2 I'm getting a java.lang.NoClassDefFoundError: org/newdawn/slick/SlickException error at org.darkstorm.minecraft.gui.theme.simple.SimpleTheme.(SimpleTheme.java:14).
I'm pretty sure it's to do with this code at UnicodeFontRenderer.java (Line 25)
I'd appreciate any help?
The text was updated successfully, but these errors were encountered: