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

Virtual Threads in Java 21: Simplified Concurrency for Modern Applications

  With Java 21, Virtual Threads have redefined how we approach concurrency, offering a lightweight and efficient way to handle parallel and ...