myeclipse maven编译出错
2024-10-01 11:31:14
从.net 到java 快一年了.这一年学了很多东西.从开发角度来说俩个语言查不到.部署上差异较大.不过java处理问题上确实不太统一.好多问题在网上没有正确的回答.刚换台式机发现 mvn install 的时候老是抱错
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project coupon-erp-service-client: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help ]
[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 ] 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 :coupon-erp-service-client
就在网上搜了下结果.发现没有明确答案.
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
其实是jre的配置有问题修改后就没有问题.
最新文章
- msys2安装
- CSS纯样式实现箭头、对话框等形状
- Ubuntu14.04安装和配置Tomcat8.0.12(转)
- Json数据,日期的转换
- Windows Azure 社区新闻综述(#71 版)
- android 中国通信乱码问题
- 中国梦&;nbsp;&;nbsp;每个农大人的梦
- synchronized和volatile简介
- DevExpress v18.2新版亮点——Reporting篇(一)
- cscope和ctags自动更新
- 并发、并行与多线程——C++
- 未能正确加载“EditorPackage”包(转)
- 【RF库Collections测试】Keep In Dictionary
- rabbitmq 消息的状态转换
- Java 之字符串(7)
- Day 2 while循环 编码 and or not
- P1054 等价表达式
- Extjs 正则表达式 常用的
- Artistic Style 3.1
- ng2 样式控制之style绑定和class绑定
热门文章
- Android锁定EditText内容和随机生成验证码
- HDU5014Number Sequence(贪心)
- 浙江大学PAT考试1009~1012(1010上帝是冠军。。)
- 表现层及ASP.NET MVC介绍(一)
- 快速构建Windows 8风格应用32-构建辅助磁贴
- [译]Java 设计模式之桥接
- POJ 3602 Typographical Ligatures
- 使用Visual Studio 2010 - 初学者系列 - 学习者系列文章
- 解决IIS7 HTTP/405 Method Not Allowed 问题的方法.
- 【MS SQL】查看任务执行进度