[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building doctor-web-single 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ doctor-web-single ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 55 resources
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ doctor-web-single ---
[INFO] Compiling 19 source files to D:\work\work_zhicall_mobile_for_IV\mhospital-doctor\doctor-web-single\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre1.8.0_144\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.449 s
[INFO] Finished at: 2018-03-29T09:38:35+08:00
[INFO] Final Memory: 12M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project doctor-web-single: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR] C:\Program Files\Java\jre1.8.0_144\..\lib\tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[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

解决办法:

最新文章

  1. 编写高质量代码:改善Java程序的151个建议(第8章:异常___建议114~117)
  2. php上传大文件设置方法
  3. Android序列化之Serializable和Parcelable
  4. increadbuild重装
  5. (LightOJ 1030)期望dp
  6. 转:ASCII码表_全_完整版
  7. tabBar中tabBarItem选中颜色自定义设置
  8. Centos 下安装Zabbix Linux 客户端
  9. CCIE-MPLS VPN-实验手册(中卷)
  10. Spring Kafka和Spring Boot整合实现消息发送与消费简单案例
  11. 记 Swagger 2
  12. 【转】如何使用离线博客发布工具发布CSDN的博客文章
  13. 《Java并发编程的艺术》Java内存模型(三)
  14. python中get pass用法
  15. 为什么MacBook装Windows这么火?
  16. IDEA调试总结(设置断点进行调试)
  17. Refused to display '[url]' in a frame because it set 'X-Frame-Options' to 'Deny'.
  18. 移动端click时间、touch事件、tap事件
  19. linux版本安装pip
  20. Android学习笔记_23_服务Service之AIDL和远程服务实现进程通信以及进程间传递自定义类型参数

热门文章

  1. 【Android 工具类】经常使用工具类(方法)大全
  2. Java类集-set
  3. servlet--百度百科
  4. android 类似微信的摇一摇实现
  5. Spring AOP 面向切面编程相关注解
  6. python中的多进程处理
  7. Codeforces 476C Dreamoon and Sums (水
  8. go项目布局(摘录)
  9. Xilinx_7_Series_GTX简介
  10. javascript (function() { /* code */ })() 自执行函数