My lagom is 1.4.14 and Play is 2.6.23. I build docker images and deploy in Minikube.
When I type docker run mohanr/order-impl I get this error.
Is there a version mismatch ?
Exception in thread “main” java.lang.NoSuchMethodError: play.api.Mode$.Prod()Lscala/Enumeration$Value;
at play.core.server.ProdServerStart$.readServerConfigSettings(ProdServerStart.scala:110)
at play.core.server.ProdServerStart$.start(ProdServerStart.scala:37)
at play.core.server.ProdServerStart$.main(ProdServerStart.scala:22)
at play.core.server.ProdServerStart.main(ProdServerStart.scala)
Update :
After I upgraded versions to newer ones I get this.
Error: Could not find or load main class play.core.server.ProdServerStart