java 17 – Unable to make private java.io.File accessible: module java.base does not “opens java.io” to unnamed module
In my Maven Java application, I have a pom.xml file that internally triggers an Ant script, within which there is a Groovy script containing Java.io.File related implementations (given below).