File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Mobile » Android
Bookmark "JAXB in Android" Watch "JAXB in Android" New topic
Author

JAXB in Android

Gurumoorthy Doraiswamy
Greenhorn

Joined: Jan 15, 2013
Posts: 21
Hi,

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
Marshal

Joined: Mar 22, 2005
Posts: 42950
    
  70
Using JAXB on Android is tricky; see this for how someone got it to work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB in Android