In this post, we will learn to resolve no main manifest attribute, in – spring boot application
Once your jar is build using maven command, we will attempt to run the jar
This exception will occur if you didn’t add maven build plugin in your pom.xml file
Solution
Add below maven build plugin in your pom.xml
After adding above plugin in your pom.xml, Build your spring boot project using maven command mvn clean install
After adding maven build plugin, you can build and run your spring boot application successfully.