Hello
I have the same problem that the following thread :
I use eclipseME 1.6.8 with eclipse 3.2.2 and jdk 6u1.
I have created 2 projects (A and B).
Package of project A is used in project B.
In project B, I setup the use of en external jar file from A project. I have
checked the checkbox in tab "Order and export".
When I run application B, I have "Uncaught exception
java/lang/NoClassDefFoundError"
When I unjar B.jar file, I see :
- The class is contained in my B.jar file.
- There is no reference to A in Manifest.mf.
I don't understand why.
If someone know the solution, could you explain me please ?
How is generated the file Manifest.mf ?
Jean-Pierre
> Hi Craig,
> thanx for reply..... well, yes and no.. i kept on having different errors
> (java/lang/Verify).. so i moved the external classes in my j2me (it was
> still one of my packages..so i had access to sources...).
> i will re-try it again as soon as my app is finished...
>
> thanks and regards
> Marco
>
> On 11/19/06, Craig Setera <[EMAIL PROTECTED]> wrote:
> >
> > Marco,
> >
> > This sounds odd. Have you had any luck getting this going since you
> > wrote this?
> >
> > Craig
> >
> > Marco Mistroni wrote:
> > > Hi all,
> > > i am using eclipseME to develop J2ME applications./
> > > I have used J2ME before, and in the past it was enough to put external
> > > jar libraries in the lib directory of your J2ME application.
> > > Now, i am using EclipseME to compile/preverify/package my j2me
> > > application, and when the application runs i get
> > >
> > > Uncaught exception java/lang/NoClassDefFoundError:
> > > com/mm/j2me/core/ApplicationException.
> > >
> > > That class is contained in myjar1.jar,, which is contianed in the lib
> > > directory of my j2me application.
> > > In EclplseME, i have selecte din Properties/Java Build Path
> > > myjar1.jar as an External library, and i have marked the checkbox next
> > > to it in 'Order and Export' tab.
> > >
> > > when i compile app using EclipseME, i can see myjar1.jar in the
> > > verified\libs.
> > >
> > > I still could not understand why the app was not finding the class,
> > > everything seemed in order.
> > > So, i tried to unjar my j2me jar of the bin directory..the
> > > Manifest.mf was not referrencing any external jars..
> > >
> > > i still can't figure out why i keep on getting ClassNotFound
> > > exception.....
> > >
> > > can anyone help me out?
> > >
> > > thanks in advance and regards
> > > Marco
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users