"Generate and copy WSDL" returns Error starting wsgen: class com.sun.tools.javac.api.JavacTool
For Netbeans 8.2 and Windows 7, the default ant settings for Netbeans are incorrect; if you check the error, you will find that wsgen"C.... are not seperated.
A space should be between those two i.e. wsgen "C..... So either fix the ant settings or copy the command and correct it before running it again.