*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41052
    
  43
Using JAXB on Android is tricky; see this for how someone got it to work.


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: JAXB in Android
 
Similar Threads
JAXB 2 - InvocationTargetException creating JAXB context
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
Declaring JAXB Dependency for Maven
cannot connect to my MySQL db using HttpClient