我有一个maven web项目是基于jdk1.8的,我现在把代码中java8的特性都用java7实现,
本地环境变量配置1.7的jdk,但是一maven打包的时候就报错[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:ma...
本地环境变量配置1.7的jdk,但是一maven打包的时候就报错
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project easyreport-common: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
请问该如何去指定编译使用的jdk 展开
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project easyreport-common: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
请问该如何去指定编译使用的jdk 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询