com.google.gson.JsonIOException: Failed making field

It looks like having my project as a module is doing silly things with Gson, it can't even access java classes?
I cannot do an "opens java.time to com.google.gson"
Caused by: com.google.gson.JsonIOException: Failed making field 'java.time.LocalDate#year' accessible; either increase its visibility or write a custom TypeAdapter for its declaring type.
See https://github.com/google/gson/blob/main/Troubleshooting.md#reflection-inaccessible-to-module-gson
Was this page helpful?