java.lang.NoSuchMethodException: Main.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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Israel Cohen
, 2 years ago
Main.main([Ljava.lang.String;)
via Coderanch by Paweł Baczyński, 1 year ago
HelloWorld.main([Ljava.lang.String;)
via GitHub by ronsmits
, 1 year ago
spring.Main.main([Ljava.lang.String;)
via GitHub by JNissi
, 11 months ago
org.pallokorva.MyApp.main([Ljava.lang.String;)
via Stack Overflow by John Conner
, 2 years ago
MouseEvent.MouseEventDemo.main([Ljava.lang.String;)
java.lang.NoSuchMethodException: Main.main([Ljava.lang.String;)
at java.lang.Class.getMethod(Class.java:1786)

Users with the same issue

2 times, 10 months ago
Once, 1 year ago
Once, 1 year ago
2 times, 1 year ago
2 times, 1 year ago

Write tip

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