DatatypeConverter crashing the game while loading world
RyuuSlayer opened this issue ยท 9 comments
Minecolonies-0.11.945-ALPHA-universal
Expected behavior
Getting into the world
Actual behaviour
I am using JAVA 11 which is already supported by forges code. Not like 14+ etc.
While loading the world the game crashes with the error:
The game crashed whilst exception in server tick loop
Error: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
Steps to reproduce the problem
- Be in world selection menu
- Load a world
- Somehow always crashes at 8% loading it
- ... sad
Logs:
Debug Log: https://pastebin.com/spCXensK
Latest Log: https://pastebin.com/PQcBEWkT
Crash Log: https://pastebin.com/fhTRyk9A
P.S. great work you guys are doing on Minecolonies. JAVA 11 uses way less RAM because of the Garbage Collector thats why i think its cool to have.
- i would see this log as probably a structurize issue, should i move this issue there?
- you might want to use gist or pastebin or something for your logs :)
1. g as probably a struct
yes ofc. you can aslong as that helps you guys fix it ^^
i wouldn't say it helps fix the issue, but it helps keep the issue trackers sorted.
according to what i could find its because the used class is part of a module, no longer the base java as of java 9, so it should happen everywhere.
You're right ToMe25, several libs were removed from base "JRE" in java 9.
@RyuuSlayer, please use java 8, even though this crash should be relatively easy to fix, it's not forge who is blocking usage of java 9+. I may try later to make structurize more careless about java version, but no guarantees it will work
It might make sense to fix this already so that we're already compatible for the future for future java versions (if minecraft bumps up the java version one day)
DataTypeConverter
as part of package javax.xml.bind
aka. JAXB was removed in Java 11, not just moved to another module (Release Notes)
just adding in a note, with the last release of Forge (31.2) on May 15th, the Forge team did add in "preliminary support for Java 13+", so this kind of issue will likely increase in frequency as people try it out.
Reference:
https://www.minecraftforge.net/forum/topic/85620-forge-312-minecraft-1152/