I’m hitting an error when trying to configure assets per
Assets Overview - 2.8.x, as described in the Using assets with configuration section.
Per the documentation I added the following to application.conf (I’m guessing that application.conf is the right file for this):
path = “/public”
urlPrefix = “/assets”
And per the documentation, added this to the routes file:
GET /assets/*file controllers.Assets.at(file)
When I run the application, I get the following compilation error:
Using different overloaded methods is not allowed. If you are using a single method in combination with default parameters, make sure you declare them all explicitly.
Any specific suggestion on how to fix this? Also, any good example projects showing how this is used?