|ClassNotFoundException when two classes are defined in the same java file [message #574979]
||Wed, 15 July 2009 16:20
| Pablo Passera
Registered: July 2009
When I have two classes defined in the same java file and I try to run
the MIDlet in the emulator, I am getting a ClassNotFoundException. The
emulator does not find the second class in the file. I looked at the
generated jar file and the .class is not there. It's like only the .class
files that coincide with the .java files names are added. If I remove the
class definition from the file and create a new .java file containing that
class, it works properly. Does this happened to someone?
I am using Eclipse 3.3 and MTJ 1.0.
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01767 seconds