Hello Andrea, go to the Project settings (rightklick on the Project name) and go to "Java Build Path". There you can adjust the root-path of your sources to point to <Project>/src/main/java. I think then your Jar would be deployed containting the right directory-structure.
Then you have to add the external dependency to the build-path, so Maven2 can be procompiled and verified. Is Maven2 a J2ME-library? If not, you cannot use it as-is, you must build it using J2ME-Profiles. Greetings, Markus Andreas Böhme schrieb: > Hi All! > > I've integrated Maven2 (pyx4me's plugin) with my project, and therefore > changed some paths (e.g. src -> src/main/java). > > After that integration EclipseME won't emulate my application any more > (which worked very well before): > Running with storage root SonyEricsson_M600_Emu > java.lang.ClassNotFoundException: at/researchstudio/sat/mgbl/AheadOfTheGame > at com.sun.midp.midlet.MIDletState.createMIDlet(+14) > at com.sun.midp.midlet.Scheduler.schedule(+52) > at com.sun.midp.main.Main.runLocalClass(+28) > at com.sun.midp.main.Main.main(+116) > Execution completed. > > > It seemed like a classpath issue to me and so I added -cp "[..]" and got > an error which seems to result from non-existing preverification: > Error verifying method at/researchstudio/sat/mgbl/AheadOfTheGame <init>()V > Approximate bytecode offset 12: Inconsistent or missing stackmap at target > > > So, do EclipseME and Maven2 not work together at all? > Is there a way to easily start just the emulator / use the EclipseME > emulation facility? > > > Thanks in advance, > Andreas > > ------------------------------------------------------------------------- > 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 -- ********************************* [EMAIL PROTECTED] http://www.psitronic.de psitronic IT-Solutions Markus Sinner W-Rathenau-Str. 14 - 68642 Bürstadt Tel.: (+49)6206 / 963513 Fax: (+49)6206 / 963514 ------------------------------------------------------------------------- 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
