installiert Activator als:mit Lagom Getting Started gibt Runtime Exception
brew install typesafe-activator
ein neues Projekt Erstellt als:
activator new my-first-system lagom-java
Wechseln Sie in das Verzeichnis und läuft das Projekt als activator run
gibt:
[info] Set current project to my-first-system (in build file:/Users/arungupta/workspaces/my-first-system/) [info] Updating {file:/Users/arungupta/workspaces/my-first-system/}my-first-system... [info] Resolving jline#jline;2.12.1 ... [info] Done updating. java.lang.RuntimeException: No main class detected. at scala.sys.package$.error(package.scala:27) [trace] Stack trace suppressed: run last my-first-system/compile:run for the full output. [error] (my-first-system/compile:run) No main class detected. [error] Total time: 0 s, completed Mar 23, 2016 12:08:22 PM
Hier ist die JDK-Version:
java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Was fehlt ist?