Giter Site home page Giter Site logo

Comments (4)

legart avatar legart commented on September 2, 2024 3

Works for me if I add this to build.gradle:

wsdl2java("com.sun.xml.bind:jaxb-impl:2.3.3")

from wsdl2java.

kponichtera avatar kponichtera commented on September 2, 2024 1

Since wsdl2java is used during Gradle build, another way can be adding jaxb-impl to the classpath during buildscript execution, like this:

buildscript {
    dependencies {
        classpath('com.sun.xml.bind:jaxb-impl:2.3.3')
    }
}

// ...

wsdl2java {
    wsdlsToGenerate = [
      // config omitted
    ]
}

This ensures that the jaxb-impl won't end up in the built package - it's used only during Gradle task execution.

from wsdl2java.

yctang888 avatar yctang888 commented on September 2, 2024

This works for me:

wsdl2java 'org.jvnet.jaxb2_commons:jaxb2-basics-runtime:0.11.1'
wsdl2java 'org.jvnet.jaxb2_commons:jaxb2-basics:0.11.1'
wsdl2java "javax.xml.ws:jaxws-api:2.3.1"
wsdl2java "org.glassfish.jaxb:jaxb-runtime:2.3.1"
wsdl2java "org.glassfish.main.javaee-api:javax.jws:3.1.2.2"
wsdl2java "com.sun.xml.messaging.saaj:saaj-impl:1.5.1"
wsdl2java "javax.xml.bind:jaxb-api:2.3.1"
wsdl2java "com.sun.xml.bind:jaxb-core:2.3.0.1"
wsdl2java "org.glassfish.main.javaee-api:javax.jws:3.1.2.2"
wsdl2java "com.sun.xml.messaging.saaj:saaj-impl:1.5.1"
wsdl2java group: 'javax.activation', name: 'javax.activation-api', version: '1.2.0'

from wsdl2java.

robinstrom avatar robinstrom commented on September 2, 2024

I got the same issue but it worked for me when I added:
wsdl2java "com.sun.xml.bind:jaxb-impl:2.3.2"

from wsdl2java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.