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
I spent a few days to resolve it. My solution: I loaded a project that present in this answer. Then I compared and corrected settings of the loaded project and my own project. I compared/corrected:
In the end, I placed META-INF in resources directory.
Maybe i did excess actions, but it worked for me :)
P.S. also need to choose "Inherit project compile output path" in Progect Structure settings -> Modules -> Path