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
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
2 Replies
JavaBot
JavaBot3mo ago
This post has been reserved for your question.
Hey @GuiSai.py ☭! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
JavaBot
JavaBot3mo ago
Post Closed
This post has been closed by <@227611011270574080>.

Did you find this page helpful?