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
It looks like your JAVA_HOME is not set properly. Can you echo JAVA_HOME from your terminal & see where it is pointing to? From the above error log it looks like its pointing to program files folder.