eclipse运行j2me项目,模拟器自动关闭,怎么回事?

ljq109 2011-03-24 04:34:47
在Java(TM) ME Platform SDK 3.0里可以正常运行。但在eclipse不行,控制台提示:

正在通过存储根 J:\j2mewtk\2.5.2\appdb\temp.DefaultColorPhone69 来运行
Running with locale: Chinese (Simplified)_People's Republic of China.936
Running in the identified_third_party security domain
java.lang.NoClassDefFoundError: cn/edu/szu/wanlh/j2me/ChessTimer: com/sun/lwuit/events/ActionListener
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.
3386717 bytecodes executed
17 thread switches
1683 classes in the system (including system classes)
17721 dynamic objects allocated (535908 bytes)
5 garbage collections (458624 bytes collected)
...全文
135 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wyn88515342 2011-03-25
  • 打赏
  • 举报
回复
cn/edu/szu/wanlh/j2me/ChessTimer: com/sun/lwuit/events/ActionListener

ActionListener 看看这个。。
wyn88515342 2011-03-25
  • 打赏
  • 举报
回复
NoClassDefFoundError没有找到类文件。。你看看你用到的哪个类没有引包。。
xgy8705023 2011-03-24
  • 打赏
  • 举报
回复
抛出了这个异常java.lang.NoClassDefFoundError,LZ自己查下
muyu_baiaixing 2011-03-24
  • 打赏
  • 举报
回复
路过 帮顶

13,100

社区成员

发帖
与我相关
我的任务
社区描述
Java J2ME
社区管理员
  • J2ME社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧