views:

143

answers:

1

I have created a maven project with j2me-archetype using netbeans. It creates a project with a default MIDLet (SampleMIDlet.java). But when I try to run the project it says that No Main Class Found. Can anyone tell that why it is going for Main class instead of existing Midlet ?

+1  A: 

Actually, I'm not sure what you mean exactly by "How to run a Maven JME project in netbeans". I'm not a JME expert but, to my knowledge, to run such a project, you'll need a Java ME MIDP Platform Emulator. Do you have that emulator installed? Maybe have a look at the FaqJavaMESDKinstall.

Pascal Thivent
Yes I have it installed. I solved it in a way that i created nebeans midp project and added a pom file to it - and it more or less works.
lbownik