Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 stackoverflowerror
Octocat-spinner-32 README.md
README.md

play_2.0.1_routes_stackoverflowerror

The following simple project creates an StackOverflowError on my MacBook Air. In my project I would like to have clean URLs. Thus I creates entries in conf/routes like:

GET   /switzerland  controllers.Application.country(countryCode = "CH")
GET   /germany      controllers.Application.country(countryCode = "DE")
...
GET   /:countryCode  controllers.Application.country(countryCode: String)

Any help on how to prevent the error is highly appreciated. Maybe there is also a much more elegant solution to this problem.

Thank you for your help.

Something went wrong with that request. Please try again.