java.lang.RuntimeException: No main class detected.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via playframework.com by Unknown author

Add guice to the dependencies.

libraryDependencies += guice

Solutions on the web

java.lang.RuntimeException: No main class detected.
at scala.sys.package$.error(package.scala:27)

Users with the same issue

2 times, 5 months ago
Once, 8 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
92 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.