Hi, You must have a running maven 2 installation from the cmd, which generally means setting the env vars JAVA_HOME, M2_HOME,PATH
JAVA_HOME=</path/to/your/java/inst> (which u should have set yet) M2_HOME=</path/to/your/m2/inst> PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\bin;%M2_HOME%\bin >but how do i run mvn in NB with the -e switch? simply cd in your project root dir and then mvn -e exec:exec BTW: have u checked plugin config?? Regards, -- Daniele De Francesco Senior Java Architect Value Team Italia On Tue, May 27, 2008 at 4:30 PM, theunsgis <[EMAIL PROTECTED]> wrote: > > > > Daniele De Francesco wrote: > > > > Hi, > > > > it looks like exec plugin could not run the app just compiled due to a > bad > > command line execution or maybe an incomplete or corrupted classpath > > problem > > ...why don't you try and run mvn -e exec:exec (eventually -X, but imho > > it's > > too much)? > > I would check the plugin configuration carefully either... > > > > > > HI thanks for the reply > > Sorry to ask , i am new to Maven > How do i run mvn -e exec:exec out of Netbeans? > > If i run the class from the cmd prompt in windows it does run fine , it is > just in NB it does not want to run. > In the maven project in NB there is a few example classes with main methods > , if you load the maven project and run it , it first ask you , to select > the main class to run , then after that it gives the errors in the output. > > But if i can run maven with the -e switch out of NB , maybei can see > something , but how do i run mvn in NB with the -e switch? > > Thanks > Theuns > > > -- > View this message in context: > http://www.nabble.com/Maven-in-Netbeans-tp17489257p17491781.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
