从.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的配置有问题修改后就没有问题.

最新文章

  1. msys2安装
  2. CSS纯样式实现箭头、对话框等形状
  3. Ubuntu14.04安装和配置Tomcat8.0.12(转)
  4. Json数据,日期的转换
  5. Windows Azure 社区新闻综述(#71 版)
  6. android 中国通信乱码问题
  7. 中国梦&amp;nbsp;&amp;nbsp;每个农大人的梦
  8. synchronized和volatile简介
  9. DevExpress v18.2新版亮点——Reporting篇(一)
  10. cscope和ctags自动更新
  11. 并发、并行与多线程——C++
  12. 未能正确加载“EditorPackage”包(转)
  13. 【RF库Collections测试】Keep In Dictionary
  14. rabbitmq 消息的状态转换
  15. Java 之字符串(7)
  16. Day 2 while循环 编码 and or not
  17. P1054 等价表达式
  18. Extjs 正则表达式 常用的
  19. Artistic Style 3.1
  20. ng2 样式控制之style绑定和class绑定

热门文章

  1. Android锁定EditText内容和随机生成验证码
  2. HDU5014Number Sequence(贪心)
  3. 浙江大学PAT考试1009~1012(1010上帝是冠军。。)
  4. 表现层及ASP.NET MVC介绍(一)
  5. 快速构建Windows 8风格应用32-构建辅助磁贴
  6. [译]Java 设计模式之桥接
  7. POJ 3602 Typographical Ligatures
  8. 使用Visual Studio 2010 - 初学者系列 - 学习者系列文章
  9. 解决IIS7 HTTP/405 Method Not Allowed 问题的方法.
  10. 【MS SQL】查看任务执行进度