I have just started doing play framework and i am missing some silly step over here.
I added new route in routes file but not able to access it. Also the CSS and JS is not loading when i open 127.0.0.1:9000 its plain text.
Following is what i did :-
Added new route in routes :-
GET /test controllers.Application.test()Added new method in Application :-
public static Result test() { return ok("test2"); }Did everything rest :-
- ctrl + D (To stop play service)
play cleanplay clean-allplay compileplay run
This is my play and scala version :-
- play 2.2.1 built with Scala 2.10.2
I dont know what is going wrong but i did clean , clean-all and compile still i can not
see the route in here. This is the latest play framework which i downloaded as of this date.
play command has been added in my bash_profile and is working quite well.
I am using eclipse for development.