The build must be done on JDK8. From your path, it looks like it is using JDK11.
The com.sun.tools is something that is included in JDK8, but not in future versions. When we migrate our WebAPI dependencies (and JRE) to later versions, we should be able to use later JDKs for building.