What maven version and what jdk version? jaxws-m-p v2.6 should work with Java 8 and 11.
Also, I can't see in the log you provide what class is not found. The log seems stripped. /Anders On Wed, Sep 16, 2020 at 7:55 AM Ilia <ternov...@gmail.com> wrote: > Hello folks, > > I'm trying to generate an async client for some web-service using > jaxws-maven-plugin. Here is src: https://github.com/tillias/reactive-ws > > Unfortunately I have a following error: > [INFO] --- jaxws-maven-plugin:2.6:wsimport (default) @ asyncws --- > [INFO] Processing: > file:/C:/Development/Projects/asyncws/src/wsdl/CountryInfoService.wsdl > [INFO] jaxws:wsimport args: [-keep, -s, > 'C:\Development\Projects\asyncws\target\generated-sources\wsimport', -d, > 'C:\Development\Projects\asyncws\target\classes', -encoding, UTF-8, > -extension, -Xnocompile, -p, com.example.asyncws.client, -wsdllocation, > /wsdl/CountryInfoService.wsdl, -b, > 'file:/C:/Development/Projects/asyncws/src/resources/bindings.xml', > "file:/C:/Development/Projects/asyncws/src/wsdl/CountryInfoService.wsdl"] > Exception in thread "main" java.lang.reflect.InvocationTargetException > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.codehaus.mojo.jaxws.Invoker.main(Invoker.java:80) > > Exception: java.lang.NoClassDefFoundError thrown from the > UncaughtExceptionHandler in thread "main" > > Can you please advise which dependency may be missing? > > Many thanks in advance > > > > < > https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail > > > Virenfrei. > www.avast.com > < > https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail > > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >