Comments (4)
Works for me if I add this to build.gradle:
wsdl2java("com.sun.xml.bind:jaxb-impl:2.3.3")
from wsdl2java.
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.
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.
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)
- Deploy new release to bintray HOT 1
- NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))
- Copy to target folder does not overwrite classes
- Java 11 No class def JAXBException
- issue with commons-io
- doesn't work with bloop HOT 2
- WSDL2Java Plugin generatedWsdlDir exception
- conflict with other jaxb version?
- Failed to access the WSDL at: file:./src/main/resources/wsdl/some_service.wsdl HOT 1
- Could not resolve no.nils:wsdl2java:0.12 Jcenter down HOT 1
- Compatibility with gradle 7.0 HOT 8
- Gradle 7 missing input/output annotations HOT 2
- Unable to load class 'com.sun.xml.bind.Utils'. HOT 2
- Feature request: support JAXB 3.0 HOT 2
- Configuration with name 'compile' not found with Gradle 7.4
- Namespace-package mapping drops www
- java.lang.NoClassDefFoundError: jakarta/xml/bind/JAXBException HOT 4
- Jaxbexception: classes not present in jax context
- Library not available on maven repository
- wsdl2Java build error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsdl2java.