0 0

j2me老是出现java.lang.ClassNotFoundException10

代码没有任何问题  在别人的电脑上可以运行的!就是一到我的电脑上就出现这个问题了
Running with storage root temp.SonyEricsson_China_JP7_240x320_Emu161
Running with locale: Chinese (Simplified)_People's Republic of China.936
java.lang.ClassNotFoundException: UI_Main/Mid_UI
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.
3540240 bytecodes executed
18 thread switches
1758 classes in the system (including system classes)
0 dynamic objects allocated (0 bytes)
0 garbage collections (0 bytes collected)
希望高手能给指点一下

问题补充:
xiaogui363 写道
缺少JAR包

能不能说具体点
2011年8月19日 10:43

3个答案 按时间排序 按投票排序

0 0

缺少jar包或jar包版本冲突。

2011年8月19日 15:38
0 0

你用的是Eclipse吗?
eclipse据说不支持OTA的调试,所以有可能在使用OTA方式的时候会出现上述问题。
  方法是点击菜单Run->Run...出现设置对话框,将executable下的方式改为Midlet,并输入要运行的Midlet名称

2011年8月19日 13:01
0 0

缺少JAR包

2011年8月19日 10:51

相关推荐

Global site tag (gtag.js) - Google Analytics