"Generate and copy WSDL" returns Error starting wsgen: class com.sun.tools.javac.api.JavacTool

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

"Generate and copy WSDL" returns Error starting wsgen: class com.sun.tools.javac.api.JavacTool

maxbobse
Hi,

I am following the steps here

https://netbeans.org/kb/docs/websvc/jax-ws.html

to create a web service application. So far so good, the only thing that is missing now is the WSDL file. But every time I select

"Generate and copy WSDL" from the web service's context menu, it returns this error message:


Code:
command line: wsgen/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/bin/java -d /Users/max/NetBeansProjects/HelloWorld2/build/generated-sources/jax-ws -Xendorsed -keep -s /Users/max/NetBeansProjects/HelloWorld2/build/generated-sources/jax-ws -verbose -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/lib/tools.jar:/Users/max/NetBeansProjects/HelloWorld2/build/web/WEB-INF/classes:/Applications/NetBeans/glassfish-4.1.1/glassfish/modules/webservices-osgi.jar:/Applications/NetBeans/glassfish-4.1.1/glassfish/modules/endorsed/webservices-api-osgi.jar:/Applications/NetBeans/glassfish-4.1.1/glassfish/modules/jaxb-osgi.jar:/Applications/NetBeans/glassfish-4.1.1/glassfish/modules/endorsed/jaxb-api.jar -wsdl -r /Users/max/NetBeansProjects/HelloWorld2/build/generated-sources/jax-ws/resources org.me.calculator.Hello2
/Users/max/NetBeansProjects/HelloWorld2/nbproject/jaxws-build.xml:34: Error starting wsgen: class com.sun.tools.javac.api.JavacTool




Anybody got an idea what the reason for that could be?

Max