wscompile issues
Alan Bateman
Alan.Bateman at oracle.com
Fri Sep 1 08:36:41 UTC 2017
On 01/09/2017 09:06, Peter Major wrote:
> :
> It is actually using reflection to execute com.sun.tools.javac.Main, but
> the compilation arguments are missing the --add-modules parameter.
>
> Having had to look at this again, I had to realize that wscompile is in
> no way actually part of the JDK, it's coming from the jaxrpc-impl
> project. I must have gotten confused by wsgen/wsimport/wscompile at one
> point... :(
Right, from the class name then I suspect you are using a dusty version
of the Java Web Service Development Pack or the standalone version of
JAX-WS that replaced it. You may find that you've got SAAJ in that
distribution but that it's just not on the class path. So you may not
need `--add-modules java.xml.ws` and in the future this will not work of
course without putting this module on the module path (the proposal that
is Java SE and JDK eventually jettison this module).
-Alan.
More information about the jdk9-dev
mailing list