How to solve this error when using kXML for Midlet (java)

Posted by hsmit on Stack Overflow See other posts from Stack Overflow or by hsmit
Published on 2010-01-28T11:13:56Z Indexed on 2010/04/07 18:53 UTC
Read the original article Hit count: 463

Filed under:
|
|
|
|

I downloaded kXML and included this in my Build Path (Eclipse). Now I'm running a simple Midlet and I get an error:

java.lang.NoClassDefFoundError: org/kxml2/io/KXmlParser
 at clientlibrary.googlecalendar.TestParser.startApp(+8)
 at javax.microedition.midlet.MIDletProxy.startApp(+7)
 at com.sun.midp.midlet.Scheduler.schedule(+270)
 at com.sun.midp.main.Main.runLocalClass(+28)
 at com.sun.midp.main.Main.main(+80)

What did I do wrong? Is there something wrong with the most recent kXML Jar? Does anyone have experience with using kXML? What did you do to get this to work?

© Stack Overflow or respective owner

Related posts about parse

Related posts about Xml