| Author |
Message |
|
|
Post subject: Debugging using eclipseME - NoClassDefFoundError
Posted: Oct 28, 2005 - 11:27 AM
|
|
|
|
I am using eclipseME with WTK2.2 to debug but when I run src/race/RaceMIDlet.java as an Emulated J2ME Midlet I get the error :
java.lang.NoClassDefFoundError: race/GameMenu: com/nokia/mid/ui/FullCanvas
at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+2
at com.sun.midp.main.Main.main(+116)
RaceMIDlet and GameMenu belong to the same package so I can't see what the problem is. The nokiaui zip is in the classpath so com/nokia/mid/ui/FullCanvas should be found.
Any ideas?
Oh, I'm new to this, so please speak sloooowly!
Laura |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Debugging using eclipseME - NoClassDefFoundError
Posted: Oct 28, 2005 - 12:20 PM
|
|
|
|
Okay, having looked into this further I'm wondering whether its something to do with the zipped archive which contains com/nokia/mid/ui/FullCanvas.
Do I have to register it anywhere? Is it a profile?
Laura |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 28, 2005 - 01:29 PM
|
|
|
|
Greetings
That should solve your problem
Project->Properties->Java Build Path->Order and Export and check the nokia library |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 31, 2005 - 06:39 AM
|
|
|
|
Thanks.
I didn't have the nokia development suite installed.
I have since done this, defined it as a wireless toolkit and can now specify a nokia as an emulator.
Laura |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 06, 2006 - 06:46 AM
|
|
|
|
I meet this problem with EclipseME and I'm asked to install a Java SDK.
Julien |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 03, 2007 - 01:02 PM
|
|
Joined: May 23, 2006
Posts: 5
|
|
If your application contains third party library that you have added in the "Java Build Path", make sure you also copy n pasted the library to the "verified" folder.
Inside there, it should contain "classes" and also the "libs", and just paste your library archive in the "libs"...
problem solved .....  |
|
|
| |
|
|
|
 |
|
|
| |