You will see this error message when Maven starts up using the JRE (Java Runtime Environment), which is a truncated version of Java that can only execute Java code, but cannot compile sources.
To fix this warning, install the Source Development Kit (SDK) and set the environment variable JAVA_HOMEfor the newly installed version of Java.
.mavenrc, ; Maven Java.