I think I know how to solve the problem except: I don\'t know where in the pom the specific version is referred to (I do not see it explicitly) and the solution I have seen is t
you merely need to add the dependency to tools.jar in your pom.xml file.
jdk.tools jdk.tools 1.7.0_05 system ${JAVA_HOME}/lib/tools.jar
If the error persists, change the path to tools.jar to an absolute path as shown below:
C:/Program Files/Java/jdk1.8.0_65/lib/tools.jar