October 07, 2022

[Solution for ] No main manifest attribute, in jar Maven and SpringBoot | SpringBoot no main manifest attribute (maven)

SpringBoot no main manifest attribute (maven)






Add the plugin to the pom.xml:



<plugin>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-maven-plugin</artifactId>
   <configuration>                   
      <mainClass>com.bijusapp.stockmarket.TickerApplication</mainClass>
   </configuration>
   <executions>
      <execution>
      <goals>
         <goal>repackage</goal>
      </goals>
      </execution>
   </executions>
</plugin>





Tags : No main manifest attribute, in jar Maven and SpringBoot, Unable to execute jar- file no main manifest attribute,[Fixed] no main manifest attribute, Maven "No main manifest attribute", How to fix "no main manifest attribute" error , Importance of Main Manifest Attribute in a Self-Executing JAR,It is easy to resolve this error in the Spring Boot project

No comments:

Post a Comment

Your feedback may help others !!!

Facebook comments