Maven经典错误之一:Please ensure you are using JDK 1.4 or above and not a JRE
来源:互联网 发布:电磁炉品牌 知乎 编辑:程序博客网 时间:2024/06/05 15:10
在Eclipse/MyEclipse
下用maven编译时,失败,提示 :
Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required).
问题原因:
Eclipse/MyEclipse默认是使用jre作为运行环境,而maven编译需要jdk作为运行环境 ;
解决方法:
设置JDK下jre为Maven项目运行所需的JRE system library;
其中有关配置的这里就不多说了,有还不清楚的可以@ wo!
下用maven编译时,失败,提示 :
Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required).
问题原因:
Eclipse/MyEclipse默认是使用jre作为运行环境,而maven编译需要jdk作为运行环境 ;
解决方法:
设置JDK下jre为Maven项目运行所需的JRE system library;
其中有关配置的这里就不多说了,有还不清楚的可以@ wo!
- Maven经典错误之一:Please ensure you are using JDK 1.4 or above and not a JRE
- Maven经典错误之一:Please ensure you are using JDK 1.4 or above and not a JRE
- Maven报错Please ensure you are using JDK 1.4 or above and not a JRE解决方法
- Maven报错Please ensure you are using JDK 1.4 or above and not a JRE解决方法
- Maven报错Please ensure you are using JDK 1.4 or above and not a JRE解决方法!
- Maven报错Please ensure you are using JDK 1.4 or above and not a JRE解决方法
- eclipse下maven打包失败(Please ensure you are using JDK 1.4 or above and not ......
- Maven打包异常Unable to locate the Javac Compiler in:Please ensure you are using JDK 1.4 or above and
- Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME
- Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable
- Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable
- Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configur
- Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable
- Android编译时报错:Ensure that you have installed a JDK(not just a JRE)and configured your JAVA_HOME......
- Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable
- Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable
- Android Gradle偶遇 Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOM
- Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE)
- Java_流式布局、边框布局以及网格布局
- CListCtrl
- 读取XML文件内容
- VC/MFC之ListCtrl控件使用经验总结(转)
- 演示My97 DatePicker过程中的错误
- Maven经典错误之一:Please ensure you are using JDK 1.4 or above and not a JRE
- android中设置控件获得焦点
- hdu 1317 XYZZY【Bellheman_ford 判断正环小应用】
- 时间在编程中的定义级相关类型介绍
- Spring MVC (二) - 基本流程
- Websphere7 linux 命令行安装(静默安装)
- hdu 3594 Cactus(仙人掌图)
- C#正则表达式语法规则详解
- 网络编程(UDP和TCP)的步骤