我跟着播放官方網站上的「Learn」。 我正在使用窗口7 + Chrome。糟糕。 conf/routes或conf/application.conf丟失。
D:\tester\play>dir
Volume in drive D is APPLIS
Volume Serial Number is 9037-F7BD
Directory of D:\tester\play
07/15/2011 10:38 PM <DIR> .
07/15/2011 10:38 PM <DIR> ..
06/15/2011 11:00 AM 1,810 COPYING
07/15/2011 10:33 PM <DIR> documentation
07/15/2011 10:34 PM <DIR> framework
07/15/2011 10:35 PM <DIR> modules
06/06/2011 08:10 PM 5,858 play
06/06/2011 08:10 PM 50 play.bat
07/15/2011 10:35 PM <DIR> python
06/06/2011 08:10 PM 1,834 README.textile
07/15/2011 10:35 PM <DIR> resources
07/15/2011 10:33 PM <DIR> samples-and-tests
07/15/2011 10:35 PM <DIR> support
07/15/2011 10:53 PM <DIR> yabe
4 File(s) 9,552 bytes
10 Dir(s) 100,984,504,320 bytes free
D:\tester\play>play run
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.2.2, http://www.playframework.org
~
~ Oops. conf/routes or conf/application.conf missing.
~ D:\tester\play does not seem to host a valid application.
~
D:\tester\play>play run yabe
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.2.2, http://www.playframework.org
~
~ Ctrl+C to stop
~
Listening for transport dt_socket at address: 8000
23:09:24,780 INFO ~ Starting D:\tester\play\yabe
23:09:31,483 WARN ~ You're running Play! in DEV mode
23:09:32,615 ERROR ~ Could not bind on port 9000
現在我正在等待解決這個問題,所以我可以繼續學習發揮下一步。
我嘗試谷歌但我沒有得到我的情況很好的答案。
任何人都可以幫助我嗎?
謝謝,@ Codemwnci現在我玩了作品, – newbie