[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building imooc-video-admin-mng 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ imooc-video-admin-mng —
[INFO] Deleting E:\javaFiles\imooc-video-admin\imooc-video-admin-mng\target
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ imooc-video-admin-mng >>>
[INFO]
[INFO] — maven-resources-plugin:2.7:resources (default-resources) @ imooc-video-admin-mng —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] — maven-compiler-plugin:3.2:compile (default-compile) @ imooc-video-admin-mng —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\javaFiles\imooc-video-admin\imooc-video-admin-mng\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.034 s
[INFO] Finished at: 2018-12-25T13:59:26+08:00
[INFO] Final Memory: 11M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project imooc-video-admin-mng: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a 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 switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException