Skip to content

jaxws-maven-plugin fails with ClassNotFoundException on 3.10.0-rc-1 #12521

Description

@sellersj

Affected version

3.10.0-rc-1

Bug description

While testing the rc 1 I found that org.codehaus.mojo:jaxws-maven-plugin fails to generate classes from a wsdl file now.

I made a minimal project that can reproduce this issue
https://github.com/sellersj/example-wsdl-generation/tree/main

When running the generate-sources phase it gets the following error

java.lang.ClassNotFoundException: com.sun.tools.ws.wscompile.WsimportTool
  at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
  at org.codehaus.mojo.jaxws.Invoker.main(Invoker.java:72)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions