I know there are many duplicates of this question, but I have looked at them all, and none of them have solved the issue.
I am trying to run a class that has a main
I had the same issue and I could not start any project with main() methods.
main()
I tried almost everything mentioned above, but it turned out that I had a little mistake in my pom.xml file.
You can check this file too!