Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play 2.0-RC3 -- Error: Could not find or load main class

I am trying to use Play 2.0 RC3. I have extracted the framework into my Program Files folder, and renamed the folder 'play20'. I entered that folder into my Windows path.

When ever I run Play, whether it being play help or play new, I always get Error: Could not find or load main class Files\play20\repository

I tried going into the folder itself instead of running from the path and I still get the same response.

like image 866
KayleL Avatar asked Mar 02 '12 07:03

KayleL


1 Answers

Copy the folder to a path without spaces in the name. "Program Files" has a space in the name and this often causes problems.

As a suggestion, copy the Play folder to the root of a hard drive (C:, D:)

like image 191
Pere Villega Avatar answered Oct 08 '22 08:10

Pere Villega



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!