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

Creating REST APIs with OpenAPI, Spring Boot 3.3.3, Java 21, and Jakarta

 Introduction In today's software landscape, designing robust and scalable REST APIs is a crucial aspect of application development. Wit...