java.lang.RuntimeException: No main class detected.

Unix & Linux | cea | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    master does not build/run?

    GitHub | 2 years ago | hffmnn
    java.lang.RuntimeException: No main class detected.
  2. 0

    scalac option -uniqid causes sbt to lose its mind

    GitHub | 4 years ago | harrah
    java.lang.RuntimeException: No main class detected.
  3. 0

    sbt run hangs when more than one main is available; also Java main not picked up

    GitHub | 5 years ago | mslinn
    java.lang.RuntimeException: No main class detected.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    scalac option -uniqid causes sbt to lose its mind

    GitHub | 4 years ago | paulp
    java.lang.RuntimeException: No main class detected.
  6. 0

    Compiling coinffeine 0.4

    GitHub | 2 years ago | juvalen
    java.lang.RuntimeException: No main class detected.

  1. Handemelindo 1 times, last 2 days ago
  2. rp 5 times, last 2 months ago
  3. gpgekko 1 times, last 3 months ago
  4. richard77 1 times, last 3 months ago
  5. poroszd 1 times, last 3 months ago
11 more registered users
70 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    No main class detected.

    at scala.sys.package$.error()
  2. Scala
    package$.error
    1. scala.sys.package$.error(package.scala:27)
    1 frame