Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CreateProcess error=2, The system cannot find the file specified Roo

I'm busy doing the Pizza Tutorial and when ever I get to the perform tests command I get the above error. I checked Windows Path and added all the necessary links to the STS file. I am at a loss. This is the fourth time I have tried this tutorial and get stuck at this command. Please help, it is frustrating me.

like image 357
Dino Avatar asked Mar 15 '13 19:03

Dino


2 Answers

In case someone stumbles upon this problem again, recent versions of maven for windows renamed the executable to mvn.cmd while Spring Roo expects mvn.bat to be there. Just copy mvn.cmd and rename the copy to mvn.bat and the perform commands should work.

like image 127
Gabriel Sanmartin Avatar answered Oct 20 '22 18:10

Gabriel Sanmartin


Check that you have Maven installed and that it's included in your PATH. (the "perform" commands in Roo Console are actually invoking Maven)

like image 32
Cosmin Rentea Avatar answered Oct 20 '22 19:10

Cosmin Rentea