You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Filip Đorđević (Jira)" <ji...@apache.org> on 2021/05/24 14:36:00 UTC

[jira] [Commented] (NETBEANS-2275) Importing WSDL on Java Application, error during compile

    [ https://issues.apache.org/jira/browse/NETBEANS-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350462#comment-17350462 ] 

Filip Đorđević commented on NETBEANS-2275:
------------------------------------------

Having the same issue with Netbeans 12.3 and Amazon Correto 11.

taskdef A class needed by class com.sun.tools.ws.ant.WsImport cannot be found: com/sun/tools/xjc/api/util/ToolsJarNotFoundException

> Importing WSDL on Java Application, error during compile
> --------------------------------------------------------
>
>                 Key: NETBEANS-2275
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2275
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Project
>    Affects Versions: 9.0, 11.0, 12.0
>         Environment: Windows 10, macOS 10.15
>            Reporter: David Baldo
>            Priority: Major
>
> I've an error while trying to create a new WSDL Client in Java Application project
> Steps to reproduce:
> # Create a new Java Application project
>  # Create new WSDL Client
>  # find a WSDL source (tried with my internal wsdl and [http://www.dneonline.com/calculator.asmx?WSDL)]
>  # Have this error: ant -f C:\\Users\\David\\Desktop\\Lavoro\\RedEvo\\redevoclients\\Calculator wsimport-client-calculator
> init:
> wsimport-init:
> Created dir: C:\Users\David\Desktop\Lavoro\RedEvo\redevoclients\Calculator\build\generated-sources\jax-ws
> C:\Users\David\Desktop\Lavoro\RedEvo\redevoclients\Calculator\nbproject\jaxws-build.xml:15: taskdef A class needed by class com.sun.tools.ws.ant.WsImport cannot be found: com/sun/istack/tools/ProtectedTask
>  using the classloader AntClassLoader[C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\FastInfoset.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\gmbal-api-only.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\ha-api.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\javax.mail_1.4.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\jaxws-rt.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\saaj-impl.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\stax2-api.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\woodstox-core-asl.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\stax-ex.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\streambuffer.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\policy.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\management-api.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\jaxws-tools.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\mimepull.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\api\jaxws-api.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\api\jsr181-api.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\api\javax.annotation.jar;C:\netbeans-apache\netbeans9\java\modules\ext\jaxws22\api\saaj-api.jar;C:\netbeans-apache\netbeans9\ide\modules\ext\jaxb\activation.jar;C:\netbeans-apache\netbeans9\ide\modules\ext\jaxb\api\jaxb-api.jar]
> BUILD FAILED (total time: 0 seconds)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists