求助,maven运行时报错,帮忙解答一下

踩坑又填坑 2017-04-21 02:43:56
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project ucan-manager-pojo: 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 <goals> -rf :ucan-manager-pojo
...全文
284 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
Erioly 2017-04-21
  • 打赏
  • 举报
回复
把本地仓库里报错的那个包连同文件夹删了,重新下载就好了
踩坑又填坑 2017-04-21
  • 打赏
  • 举报
回复
踩坑又填坑 2017-04-21
  • 打赏
  • 举报
回复
引用 2 楼 lrx2011 的回复:
把eclipse中installed JRE改成JDK的目录试试
没用的,试过了
踩坑又填坑 2017-04-21
  • 打赏
  • 举报
回复
没用的,试过了
podd 2017-04-21
  • 打赏
  • 举报
回复
把eclipse中installed JRE改成JDK的目录试试
踩坑又填坑 2017-04-21
  • 打赏
  • 举报
回复
网上找的方法都不管用啊

50,523

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧