0

我的 midlet 和 DB java 页面没有显示任何错误,但是在运行模拟器时它会加载并突然终止并出现以下错误......

请帮我解决

Running with storage root C:\Users\Acer\j2mewtk\2.5.2\appdb\MediaControlSkin
Running with locale: English_United States.1252
Running in the identified_third_party security domain
java.lang.NoClassDefFoundError: com/sun/lwuit/layouts/Layout
    at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
    at com.sun.midp.midlet.Scheduler.schedule(+52)
    at com.sun.midp.main.Main.runLocalClass(+28)
    at com.sun.midp.main.Main.main(+80)
Execution completed.
3409264 bytecodes executed
25 thread switches
1683 classes in the system (including system classes)
17718 dynamic objects allocated (532816 bytes)
3 garbage collections (458688 bytes collected)
4

1 回答 1

0


在构建路径中 添加 LWUIT.jar文件。
添加干净并构建后,然后测试您的应用程序

于 2013-03-02T13:53:28.183 回答