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"
"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
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
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
JC|HCL
Java Community | Help. Code. Learn.
We are a Community full of Java developers. Connect with other devs, get help, help others and do much more!