Tuesday, April 5, 2022

Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not opens java.util + Maven + Eclipse


I share next solution to fix issues when migrate a new eclipse version:

Add next line in eclipse.ini  --illegal-access=permit after -vmargs. and restart your eclipse.

-vmargs
--illegal-access=permit

















References:  Eclipse.org


















No comments:

Post a Comment

🚀 Understanding O(1) vs O(n) – With Practical Code Examples

When writing efficient Java code, algorithmic complexity matters—a lot. In this post, I’ll walk you through two fundamental time complexitie...