NoClassDefFoundError and KToolbar 2.3

M

minimons

Hello!

I have a simple MIDlet that fails and I want to see some output on the
console (Using System.out in the code).
The phone emulators in Suns WTK2.3 detach from the command prompt so I
will not see the output from the application.
I then just started KToolbar and selected "File->Create project from
JAR/JAD..." and selected the jad file. When I press the Run button I
get:

----
Running with storage root DefaultColorPhone
Running with locale: Danish_Denmark.1252
Uncaught exception java/lang/NoClassDefFoundError:
com/somecompany/mid/appl/MyCoolApp.
----

Why is that? The application is running perfectly on the target phone
and on normal Nokia emulators. The jar/jad files are correct (according
to my best knowledge).
Why can't the emulator find the classes in the JAR file when a project
is created this way?

Best regards,
- Morten Green Hermansen, Fanitas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top