I am getting no main manifest attribute
while running the jar create by Intellij. I extracted the jar and observed that there was another manifest
If using Maven, Ensure your pom.xml has the main class referenced and fully qualified, similar to:
org.apache.maven.plugins
maven-jar-plugin
2.6
org.mypkg.MyMainClass
(... of course the version number of the plugin may be different).
The main class being not fully qualified, is what leads people to suggest moving the manifest to another location (in order to satisfy the reference locally).