Plugins (1077)


Training and Consulting (43)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 539
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Guest
Post subject: Debugging using eclipseME - NoClassDefFoundError  PostPosted: 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(+2Cool
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
 
   
Reply with quote Back to top
Guest
Post subject: RE: Debugging using eclipseME - NoClassDefFoundError  PostPosted: 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
 
   
Reply with quote Back to top
Ms. Phoenix
Post subject:   PostPosted: Oct 28, 2005 - 01:29 PM
Guest





Greetings
That should solve your problem
Project->Properties->Java Build Path->Order and Export and check the nokia library
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: 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
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Apr 06, 2006 - 06:46 AM






I meet this problem with EclipseME and I'm asked to install a Java SDK.

Julien
 
   
Reply with quote Back to top
bugmenot
Post subject:   PostPosted: 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 ..... Laughing
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits