继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

eclipse maven打包 jre jdk 错误!

慕哥9229398
关注TA
已关注
手记 1099
粉丝 198
获赞 911

错误信息:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project common-utils: 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.

解决方案:

添加 jdk 安装环境;

webp

再次编译安装正常;



作者:cifer_pan
链接:https://www.jianshu.com/p/b0dea944810e


打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP