当使用mvn package打包项目的时候,抛出下面这个错误: [ERROR] Unable to locate the Javac Compiler in: D:\jdk\..\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 loca
在Linux环境下配置Jenkins执行时,发现不能执行Maven,这个比较搞了. A Maven installation needs to be available for this project to be built.Either your server has no M 所以就网搜了下. 解决方案如下: https://stackoverflow.com/questions/28387142/how-to-configure-maven-installation-in-jenkins
问题: 最近在Eclipse里面装了maven之后,启动或者在运行项目时存在如下的警告: Eclipse is rinning in a JRE,but a JDK is require, Some Maven plugins may not work when importing projucts or updating source folders. 或者是: You need to run build with JDK or have tools.jar on the classpath.