Search code examples
javamavenant

failed to execute goal org.apache.maven.plugins:maven-antrun-


I have tools.jar in JDK but in pom.xml java.home is getting evaluated wrongly pls see the pic for that. How to point it at c:/user/username/java/openjdk?

Error Info

In eclipse windows -preferences-java-installed JRE I have provided the JDK path

In environment variables also I have provided the right path


Solution

  • Make sure all the dependence are getting downloaded. Make sure cloning of project is done completely. This error comes when something is missing in the project either be it dependency,any source file even a import can led to this error