Play For Scala つまずいたところ
routeで
'GET /products/new'を‘GET /products/:ean'の後ろに記述しないとエラーがでる
参考:http://www.manning-sandbox.com/thread.jspa;jsessionid=f0HFJnZp0s7PO1E7?messageID=131178𠁪
The route for ‘GET /products/new’ has to be before the route for ‘GET /products/:ean’ - the first route in the file matches, and if you have them the wrong way around, /products/new matches the other route, and the router tries to parse 'new' as the Long ':ean' parameter.
よくわからない、、、