请教~~在做J2ME的时候eclipse程序手机模拟器闪一下就木有了~是怎么回事~~
控制台显示:RunningwithstoragerootC:\Users\Administrator\j2mewtk\2.5.2\appdb\MediaControlSk...
控制台显示:
Running with storage root C:\Users\Administrator\j2mewtk\2.5.2\appdb\MediaControlSkin
Running with locale: Chinese (Simplified)_People's Republic of China.936
Running in the identified_third_party security domain
java.lang.ClassNotFoundException: PushPuzzle
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.
3404207 bytecodes executed
21 thread switches
1667 classes in the system (including system classes)
17584 dynamic objects allocated (523504 bytes)
1 garbage collections (0 bytes collected) 展开
Running with storage root C:\Users\Administrator\j2mewtk\2.5.2\appdb\MediaControlSkin
Running with locale: Chinese (Simplified)_People's Republic of China.936
Running in the identified_third_party security domain
java.lang.ClassNotFoundException: PushPuzzle
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.
3404207 bytecodes executed
21 thread switches
1667 classes in the system (including system classes)
17584 dynamic objects allocated (523504 bytes)
1 garbage collections (0 bytes collected) 展开
3个回答
展开全部
没有设置启动类,右键-Run Configuration-在Executable设置你的启动类,就是集成midlet的那个class
追问
设置了……不好用……
追答
重新编译,重启eclipse试试啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
可能是类文件路径不对,看看package是怎么写的,比如如果是package test 就得在src下建立test文件夹,把.java文件放到test下就好了。
再也有可能是中文目录的问题。
再也有可能是中文目录的问题。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询