项目导入错误

来源: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,重新配置一下

0
0

Java SSM快速开发仿慕课网在线教育平台

学习整合微信公众平台开发、新浪SAE云平台、七牛云、分布式部署等等

1074 学习 · 449 问题

查看课程