No compiler is provided in this environment. Perhaps you are running on JRE rather than a JDK?
INFO] 1 error
INFO] -------------------------------------------------------------
INFO] ------------------------------------------------------------------------
INFO] BUILD FAILURE
INFO] ------------------------------------------------------------------------
INFO] Total time: 1.811 s
INFO] Finished at: 2019-01-02T14:01:38+08:00
INFO] Final Memory: 10M/108M
INFO] ------------------------------------------------------------------------
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
:compile (default-compile) on project maven01-model: Compilation failure
ERROR] No compiler is provided in this environment. Perhaps you are running on
JRE rather than a JDK?
ERROR] -> [Help 1]
ERROR]
ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
h.
ERROR] Re-run Maven using the -X switch to enable full debug logging.
ERROR]
ERROR] For more information about the errors and possible solutions, please rea
the following articles:
ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
ption
:\Maven\code\mven01>