java.lang.NoSuchMethodException: HelloWorld2.main([Ljava.lang.String;)

Stack Overflow | Fried Brice | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Scala: Syntax causing runtime error?

    Stack Overflow | 7 months ago | Fried Brice
    java.lang.NoSuchMethodException: HelloWorld2.main([Ljava.lang.String;)
  2. 0

    Can you define main as val or var in Scala?

    Stack Overflow | 4 months ago | Dmitry
    java.lang.NoSuchMethodException: app.main([Ljava.lang.String;)
  3. 0

    NZEC on hackerearth - Scala - Judge Searching for main method on inner class

    Stack Overflow | 1 month ago | clemus
    java.lang.NoSuchMethodException: SamuAndCardGame$Vec.main([Ljava.lang.String;)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    running private main method

    GitHub | 3 years ago | scalasolist
    java.lang.NoSuchMethodException: Main.main([Ljava.lang.String;)
  6. 0

    How to compile this Scala code

    Stack Overflow | 2 years ago | user2386854
    java.lang.NoSuchMethodException: sumit.main([Ljava.lang.String;)

  1. Adrien 16 times, last 3 weeks ago
  2. andreeaa marin 6 times, last 2 months ago
  3. davidvanlaatum 9 times, last 3 months ago
  4. filpgame 3 times, last 1 month ago
  5. bmacedo 3 times, last 3 months ago
43 more registered users
34 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.NoSuchMethodException

    HelloWorld2.main([Ljava.lang.String;)

    at java.lang.Class.getMethod()
  2. Java RT
    Class.getMethod
    1. java.lang.Class.getMethod(Class.java:1778)
    1 frame
  3. Scala
    ScalaClassLoader$URLClassLoader.run
    1. scala.reflect.internal.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:66)
    2. scala.reflect.internal.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala:101)
    2 frames
  4. Scala Compiler
    MainGenericRunner.main
    1. scala.tools.nsc.CommonRunner$class.run(ObjectRunner.scala:22)
    2. scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:39)
    3. scala.tools.nsc.CommonRunner$class.runAndCatch(ObjectRunner.scala:29)
    4. scala.tools.nsc.ObjectRunner$.runAndCatch(ObjectRunner.scala:39)
    5. scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:65)
    6. scala.tools.nsc.MainGenericRunner.run$1(MainGenericRunner.scala:87)
    7. scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:98)
    8. scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:103)
    9. scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
    9 frames