Maven error no main manifest attribute

Maven error message “no main manifest attribute”.

This means that the maven program can’t find the program entry point. This usually happens when your main program is located in a Java package or the class name of the main program is different from the <name> property in pom.xml


We can specify the program entry point in pom.xml



                     <!-- Full qualified name of the main class-->



Leave a Reply

Your email address will not be published.