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

🚀 Using Testcontainers for Real Integration Tests (Spring Boot + JUnit 5)

 Modern applications rely on multiple external systems — relational databases, messaging services, cloud APIs, and more. Unit tests alone ca...