Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: is it enought to work with CXF? #3

Open
4ntoine opened this issue Mar 11, 2015 · 1 comment
Open

Q: is it enought to work with CXF? #3

4ntoine opened this issue Mar 11, 2015 · 1 comment

Comments

@4ntoine
Copy link

4ntoine commented Mar 11, 2015

Apache CXF uses JAXB as default xml binding. I need to make cx websevice to make running on Android. At the moment i'm having jaxb-api-2.2.11.jar and jaxb-impl-2.2.10.jar in 'libs' folder of android project. However i'm getting javax.xml.bind.JAXBException - with linked exception: [java.lang.ClassNotFoundException: Didn't find class "com.sun.xml.internal.bind.v2.ContextFactory" on path: DexPathList[[zip file "/data/app/com.company.streaming-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.company.streaming-1, /vendor/lib, /system/lib]]] error.

Will it work with this repo sources instead of jaxb-impl.jar that i'm currently using?

@4ntoine
Copy link
Author

4ntoine commented Mar 12, 2015

I've build it with Ant, packed runtime/build/classes into jar and copied it to libs folder (jab-api.jar from maven repo is already in my libs).

For some reason i'm getting javax.xml.bind.JAXBException - with linked exception: [java.lang.ClassNotFoundException: Didn't find class "com.sun.xml.internal.bind.v2.ContextFactory" on path: ... Exception is raised in JAXBContext.java (from jaxb-api.jar) in public static JAXBContext newInstance(Class[] classesToBeBound, Map<String, ?> properties)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant