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

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

Solutions on the web

via Stack Overflow by Fried Brice
, 1 year ago
HelloWorld2.main([Ljava.lang.String;)
via Stack Overflow by Dmitry
, 1 year ago
app.main([Ljava.lang.String;)
via Stack Overflow by clemus
, 9 months ago
via Stack Overflow by user2386854
, 2 years ago
sumit.main([Ljava.lang.String;)
via Stack Overflow by James T Kirk
, 2 years ago
proj2.Main$Date.$bang$eq(java.lang.Object)
via Stack Overflow by Agustin Barrachina
, 5 months ago
pdc.conversor.debugImageMain.main([Ljava.lang.String;)
java.lang.NoSuchMethodException: HelloWorld2.main([Ljava.lang.String;)
at java.lang.Class.getMethod(Class.java:1778)
at scala.reflect.internal.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:66)
at scala.tools.nsc.CommonRunner$class.run(ObjectRunner.scala:22)
at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:39)
at scala.tools.nsc.CommonRunner$class.runAndCatch(ObjectRunner.scala:29)
at scala.tools.nsc.ObjectRunner$.runAndCatch(ObjectRunner.scala:39)
at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:65)
at scala.tools.nsc.MainGenericRunner.run$1(MainGenericRunner.scala:87)
at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:98)
at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:103)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
23 times, 1 week ago
Once, 1 month ago
102 more bugmates

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