File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes JAXB in Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "JAXB in Android" Watch "JAXB in Android" New topic

JAXB in Android

Gurumoorthy Doraiswamy

Joined: Jan 15, 2013
Posts: 21

We have already an java client application which uses JAXB for serialization. But when i try to import the project and run in Eclipse android project it always throws me Noclassdeffounderror in javax.xml.bind.

i downloaded the related jars(activation.jar,javax.xml.bind.jar, jaxb-api, jaxb-impl, jaxb-xjc,jsr173-api,sjxpx.jar) and included in the libs folder but still i receive the same. Do i miss out something.

I can not modfiy to simplexml or such kind of third party utilites.

Please advise.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Using JAXB on Android is tricky; see this for how someone got it to work.
I agree. Here's the link:
subject: JAXB in Android
It's not a secret anymore!