J2ME Class Not Found java/lang/ClassNotFoundException
来源:互联网 发布:js判断对象包含 编辑:程序博客网 时间:2024/05/12 07:36
when u r getting message like class not found it means from where ur application is being start that class is not access by the emulator and it is missing for it thats why such a error will generated.
when ur copying the whole folder in that folder one file with project properties also remain in the folder which has setting for class location.
but whenever u are creating the newer one this file is replace by new project property and ur setting is differ form newer one.
so you just go to setting menu>Midlet
there u will find midlet name, midlet icon, midlet classpath
you have to specify class path again in that loaction.
suppose your main midlet is in package Example and ur midlet class name is GameAction
then u have to specify same in midlet class name is
Example.Game Action.
i hope this will helps u.
Regards,
Jasmit vala
在网上找的的一段话,貌似是解决这个问题的方法,虽然我英语还不错,但是我也懒得看他,看了一下也不知道在讲什么,大概就是说模拟器找不到你的Class文件
出现问题的原因是你没有在描述器文件中定义你的MIDlet Suite中定义你的MIDlet
打开描述器,选择MIDlet选项(Define the Midlets that make up the Midlet Suite),把你的MIDlet添加进去。就行了,不懂我的意思,直接看图。
jad文件就是描述器文件,打开它,选择下面选项卡的第二个的,添加你的MIDlet,就OK了
- J2ME Class Not Found java/lang/ClassNotFoundException
- java.lang.ClassNotFoundException: Class WordCount$TokenizerMapper not found
- java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: '
- java.lang.ClassNotFoundException: Class bytes found but defineClass()failed
- DWR:java.lang.SecurityException: Class not found
- java.lang.ClassNotFoundException Class.forName()
- web项目中servlet java.lang.class not found exeception
- elasticsearch class file for java.lang.AutoCloseable not found
- File "/tags/struts-tiles" not found或java.lang.ClassNotFoundException: org.apache.struts.taglib.tile
- Caused by: java.lang.ClassNotFoundException: Could not load requested class : org.h2.Driver
- java.lang.ClassNotFoundException: net.sf.ezmorph.Morpher Could not initialize class net.sf.json.ut
- RMI Stub class java.lang.ClassNotFoundException
- java.lang.ClassNotFoundException: Cannot find class: DB_VENDOR
- java.lang.ClassNotFoundException: Cannot find class: BaseResultMap
- Class.forName提示java.lang.ClassNotFoundException:
- java.lang.ClassNotFoundException: Cannot find class: BaseResultMap
- java.lang.IllegalArgumentException: not found @HttpResponse from class java.lang.Object解决方法
- Android异常汇集----3.java.lang.NoClassDefFoundError: Class not found using the boot class
- 设计模式第一篇 工厂模式(1) 简单工厂模式simple factory
- php5.3.6+apache2.2.19配置
- bzImage是怎么来的
- Qt学习——进度条QProgressBar/QProgressDialog类
- 面向对象高级续2(instanceof关键字、抽象类和接口的应用、Object类、包装类)
- J2ME Class Not Found java/lang/ClassNotFoundException
- Android Applications Tutorial 23. HTTP Internet Connection
- tzc2668 Lecture Halls (会议安排)
- 不要写过于聪明的代码(兼C++中的new和异常)
- Qt学习——聊天的QQ列表QToolBox类
- 鸟哥linux学习笔记
- 没聊起来,散了
- hdu 2112 (最短路)
- android activity 生命周期