I got error message every time I changed my pom.xml in eclipse.
Build errors for myapp; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to ex
1.Go to Window -> Preferences -> Java -> installed JREs 2.Select the JRE you are using (Should be the one inside jdk. Ex: C:\Program Files\Java\jdk1.6.0_25\jre) 3.Press Edit -> Add External JARs... 4.Browse to Java\jdk1.6.0_25\lib and select tools.jar and Press Enter 5.Press Finish and OK..
This worked for me.