error upgrading aspectj-maven-plugin v1.8

aglavina picture aglavina · Oct 7, 2015 · Viewed 12.1k times · Source

Upgrading the maven plugin from 1.7 to 1.8 results in the following error message:

[ERROR] 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${toolsjarSystemPath} @ pom.xml /ash-domain line 1

Answer

tiagocorreia picture tiagocorreia · Oct 19, 2015

I had the same problem and I've just added in eclipse.ini the path to the JDK8.
In my case:

-vm
C:\Program Files (x86)\Java\jdk1.8.0_60\bin\javaw.exe

(must be before -vmargs)