This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 42958
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!