Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8172133

JAX-WS wsimport ant task failing with -Xbootclasspath/p

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: xml
    • Labels:

      Description

      When running with com.sun.xml.ws:jaxws-tools:2.3.0-b161121.2027, the wsimport fails because bootclasspath/p isn't allowed with JDK9.

      java] [java] [java] [clientgen] javac: option -Xbootclasspath/p: not allowed with target 1.9
       wsimport failed
           [java] [java] [java] at weblogic.wsee.tools.clientgen.jaxws.ClientGenImpl.execute(ClientGenImpl.java:220)
           [java] [java] [java] at weblogic.wsee.tools.anttasks.ClientGenFacadeTask.execute(ClientGenFacadeTask.java:265)
           [java] [java] [java] at weblogic.wsee.tools.anttasks.ClientGenTask.execute(ClientGenTask.java:373)
           [java] [java] [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           [java] [java] [java] at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           [java] [java] [java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [java] [java] [java] at java.base/java.lang.reflect.Method.invoke(Method.java:538)
           [java] [java] [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [java] [java] [java] at org.apache.tools.ant.Task.perform(Task.java:348)
           [java] [java] [java] at org.apache.tools.ant.Target.execute(Target.java:435)
           [java] [java] [java] at org.apache.tools.ant.Target.performTasks(Target.java:456)
           [java] [java] [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           [java] [java] [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           [java] [java] [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
           [java] [java] [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
           [java] [java] [java] at org.apache.tools.ant.Main.runBuild(Main.java:851)
           [java] [java] [java] at org.apache.tools.ant.Main.startAnt(Main.java:235)
           [java] [java] [java] at org.apache.tools.ant.Main.start(Main.java:198)
           [java] [java] [java] at org.apache.tools.ant.Main.main(Main.java:286)
           [java] [java] [java] Caused by: wsimport failed
           [java] [java] [java] at com.sun.tools.ws.ant.WsTask2.execute(WsTask2.java:432)
           [java] [java] [java] at com.sun.tools.ws.ant.WsImport2.execute(WsImport2.java:583)
           [java] [java] [java] at weblogic.wsee.tools.clientgen.jaxws.ClientGenImpl.execute(ClientGenImpl.java:214)
           [java] [java] [java] ... 18 more
           [java] [java] [java]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ljungman Lukáš Jungmann
              Reporter:
              sfelts Stephen Felts
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: