在https://developer.lightbend.com/start/?group=play&project=play-samples-部署 PLAY SCALA HELLO WORLD TUTORIAL 应用程序的 2.8.x 版本时,我严格按照 Play 框架和 Boxfuse 网站上的说明进行操作play-scala-hello-world-tutorial。
部署时遇到错误“JVM exited with status 255”。我使用的是 Openjdk 1.8、Scala Sdk 2.3.14 和 Play 框架版本 2.8.7。
WARNING: Run failed: Time out: Payload of Instance I-############# failed to come up within 300 seconds at http://:9000/
=> ensure your application responds with an HTTP 200 at / on port 9000
=> check the logs for I-############# in prod
=> ensure the healthcheck configuration (healthcheck.port, healthcheck.path, healthcheck.timeout) matches your application