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
No description
5 Replies
JavaBot
JavaBot9mo ago
This post has been reserved for your question.
Hey @netty.bootstrap! Please use /close or the Close 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.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
netty
nettyOP9mo ago
Any help appreciated
MoonSouhayl
MoonSouhayl9mo ago
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
netty
nettyOP9mo ago
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
netty
nettyOP9mo ago
this legit fixxed it
No description

Did you find this page helpful?