Archive for April, 2017

Taken from the PlayFramework Google Groups File “conf/routes”: ->      /api                        api.Routes // focus on the big R! ->      /                           website.Routes File “conf/api.routes”: GET    /healthCheck/status     […]

To make sure that your Play! Application binds on an IPv4 Socket in your Docker-Container, add the following to your build.sbt file when running locally, you can also start sbt and tell it to prefer the IPv4 Stack.

// pdf generation val play2PDF = “it.innove” % “play2-pdf” % “1.5.1” excludeAll( ExclusionRule(organization = “com.typesafe.play”, name = “twirl-api_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-server_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-java_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-netty-server_2.11”), ExclusionRule(organization = “com.typesafe.play”, name = “play-logback_2.11”) ) Unfortunately, it’s required to hardcode the Scala Version into the Artifact name.. […]


top