项目导入错误
来源:1-3 (补充)项目源码导入,配置,运行,入坑,出坑-1

余生_只为你
2020-05-17
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ocPortal: 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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :ocPortal
老师你好 项目导入的时候发生错误 已经配置了deployment Assembly ,.m2\repository下面的文件删了重新下载,但是还是报错
1回答
-
祁聪
2020-05-18
错误提示是jre不是jdk,重新配置一下
00
相似问题