[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ros 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ros ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 419 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ros ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 82 source files to F:\svn\ros\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.755 s
[INFO] Finished at: 2018-04-10T17:20:49+08:00
[INFO] Final Memory: 23M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ros: 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
在构建项目的时候因为大家配置的jre环境问题导致的

配置自己安装的jdk

配置自己安装maven

完成之后保存

update maven

run as

重新运行一下啊

最新文章

  1. 配置handler vs2013 iis8.0
  2. Android 自定义属性
  3. 使用Python脚本进行域名解析
  4. C#基础整理
  5. CentOS6.5安装LAMP环境APACHE的安装
  6. hosts文件简析
  7. JavaScript高级程序设计-10.11: DOM及其扩展
  8. IOS学习——iphone X的适配
  9. StringBuilder的实现与技巧(转)
  10. ResizeObserver - 元素resize监听API
  11. Ubuntu16.10下mysql5.7的安装及远程访问配置
  12. 牛客G-指纹锁【一题三解】
  13. Windows + VS2013 + Dlib
  14. Count of Smaller Number before itself
  15. 用浏览器访问WCF
  16. JavaSE1
  17. 【微信开发】JS和PHP分别判断当前浏览器是否微信浏览器
  18. telnet 登陆的方法
  19. 修改SQL Service数据库排序规则
  20. 另类dedecms后台拿shell

热门文章

  1. vector中resize()和reserve()区别
  2. 2.13 Hive中自带Function使用及自定义UDF编程
  3. SmartSql使用教程(3)——SmartSql中的事务,及AOP的使用
  4. POJ3191【(-2)进制本质】
  5. Codevs 1141 数列
  6. XHTML学习笔记 part1
  7. bzoj1475:方格取数
  8. E - Round Numbers
  9. 给mysql默认root用户设置密码
  10. C# 基础之构造函数