Search code examples
java-melwuit

NoClassDefFoundError with LWUIT


I wrote a J2ME application in Eclipse by using LWUIT. In order to use LWUIT, I had to add LWUIT.jar to my project. The project compiles successfully, but could not run, giving a NoClassDefFoundError for the com.sun.lwuit.impl.midp.VKBImplementationFactory class.

I explored LWUIT.jar, and the VKBImplementationFactory.class file is present there. I don't get where I went wrong.


Solution

  • I investigated the issue further and I found the answer. See this EclipseME documentation page.