参考文章:idea报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-co
项目场景:
在使用VSCode打包springboot项目时,提示错误
问题描述:
在使用VSCode打包springboot项目时,提示:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project server: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] COMPILATION ERROR :
[INFO] ----------------------------------------------------------