LoginSignup
2
0

More than 5 years have passed since last update.

Playのrouteを編集しても反映されない時の解決方法

Last updated at Posted at 2015-02-27

routeの内容は以下の通り。

route
GET     /                           controllers.Application.index
GET     /login                      controllers.com.jsms.Login.login
GET     /assets/*file               controllers.Assets.at(path="/public", file)

localhost:9000/loginへのアクセスはパターンに合致するはずなのに、以下のエラー。
WS000028.JPG

routeを変更しても反映されない時はactivatorでcleanすれば良いらしい。
 [app] $ clean
 [app] $ compile
 [app] $ run
 
 

これで追加したURLパターンが認識されるようになる。
2時間ほど無駄にしてしまった・・・

2
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0