Iam new on java So can you help mw with this a run my maven project in Vscode and get Error
when I run any normal java code without any package off my code working fine
Error: Could not find or load main class Caused by
Caused by: java.lang.NoClassDefFoundError:
I think there is some package error How can I resolve it I don't know enter image description here
Asked
Active
Viewed 9 times
0
-
Does this answer your question? [What does "Could not find or load main class" mean?](https://stackoverflow.com/questions/18093928/what-does-could-not-find-or-load-main-class-mean) Specifically, this part: `"The fully qualified name (FQN) for the class is conventionally written as you would in Java source code; e.g."` In short, the full class name includes the package name. – Christopher Schneider May 04 '22 at 15:31