Maven issues
Hi guys, can anyone tell me, why Maven does not find my Main class and whats wrong about it cuz I cant really find out what is going on and why its throwing ClassNotFound when I try to run the .jar
5 Replies
⌛
This post has been reserved for your question.
Hey @netty.bootstrap! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Any help appreciated
ur Main.java is not in "org.src.main" package, it seems like u have no package directory, u can either search about how maven handles this, or u can easily create a package and put the main class in it
Where do I create the package
in the "src" folder or just src/main/java
Cuz I made a package called src in that and put my main in that one
wait nvm
this legit fixxed it