wood burning stoves 2.0*
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: 41185
    
  45
Using JAXB on Android is tricky; see this for how someone got it to work.


Ping & DNS - my free Android networking tools app
 
 
subject: JAXB in Android
 
Similar Threads
JAXB 2 - InvocationTargetException creating JAXB context
Declaring JAXB Dependency for Maven
I just imported an App that uses Google Maps API, must add google apis 2.3.3
Annotations in Spring framework OXM module with JAXB framework
cannot connect to my MySQL db using HttpClient