When starting play framework 2, i seem not to be able to run an application that is newly created. I use jdk7u45 on a w7 64bit machine.
C:\dev\play\play-2.0\workspace>play new yabe
_ _
_ __ | | __ _ _ _| |
| '_ \| |/ _' | || |_|
| __/|_|\____|\__ (_)
|_| |__/
play! 2.0, http://www.playframework.org
The new application will be created in C:\dev\play\play-2.0\workspace\yabe
What is the application name?
> yabe
Which template do you want to use for this new application?
1 - Create a simple Scala application
2 - Create a simple Java application
3 - Create an empty project
> 1
OK, application yabe is created.
Have fun!
C:\dev\play\play-2.0\workspace>cd yabe
C:\dev\play\play-2.0\workspace\yabe>play yabe
[info] Loading project definition from C:\dev\play\play-2.0\workspace\yabe\project
[info] Set current project to yabe (in build file:/C:/dev/play/play-2.0/workspace/yabe/)
[error] Not a valid command: yabe (similar: about)
[error] Expected '/'
[error] Not a valid configuration: yabe
[error] Not a valid key: yabe (similar: name, stage, state)
[error] yabe
[error] ^
C:\dev\play\play-2.0\workspace\yabe>
I tried all options, option 1, 2, 3 and nothing [directly enter]. Same error message as always, and localhost:9000 does not do anything (localhost:80 nothing either so nothing is running there).
Also
C:\dev\play\play-2.0\samples\java\helloworld>play helloworld
same error.
OK if i just type play in the helloworld, i get the following and also localhost:9000 shows nothing
C:\dev\play\play-2.0\samples\java\helloworld>play [info] Loading project definition from C:\dev\play\play-2.0\samples\java\helloworld\project [info] Set current project to helloworld (in build file:/C:/dev/play/play-2.0/samples/java/helloworld/) _ _ _ __ | | __ _ _ | | | ' \| |/ ' | || || | /||_|__ () || |__/
play! 2.0, http://www.playframework.org
Type "help play" or "license" for more information. Type "exit" or use Ctrl+D to leave this console.
[helloworld] $
Any ideas how to make it work or at least how to pinpoint the issue?