Closed basst85 closed 5 years ago
@kojoru Can you maybe give me an update on this?
So what did you do? Add compile 'javax.xml.bind:jaxb-api:2.3.0' to build.gradle dependencies ?
@stefan52a so in your opinion that must fix this error? I'm gonna try that
@stefan52a so in your opinion that must fix this error? I'm gonna try that
No that's not my opinion, but it brought me closer, I think, to compiling the SDK. And I am also just wondering what you did do.
I have the same issue, any solutions? I tried building with java SE 8 and 11 and got the same error
@stefan52a @mo6zes It's finally working here!
I've added "implementation 'javax.xml.bind:jaxb-api:2.2.4'" to the build.gradle, and xercesImpl.jar from "Apache Xerces2" to the lib-directory.
I've added "implementation 'javax.xml.bind:jaxb-api:2.2.4'" to the build.gradle, and xercesImpl.jar from "Apache Xerces2" to the lib-directory, after this it's working on Android.
Worked in my case:
implementation "org.glassfish.jaxb:jaxb-runtime:2.3.3"
annotationProcessor 'jakarta.xml.bind:jakarta.xml.bind-api:2.3.3'
annotationProcessor 'org.glassfish.jaxb:jaxb-runtime:2.3.3'
annotationProcessor 'javax.annotation:javax.annotation-api:1.3.2'
and also:
packagingOptions {
exclude 'META-INF/NOTICE.md'
exclude 'META-INF/LICENSE.md'
}
However, exact settings depend on the functionality used in the project.
Steps to reproduce:
What should happen:
What happens:
SDK version and environment
Line in code where package is used: https://github.com/bunq/sdk_java/blob/develop/src/main/java/com/bunq/sdk/security/SecurityUtils.java#L20