SpringBoot no main manifest attribute (maven)

-

mvn package spring-boot:repackage

pom

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.places.Main</mainClass>
</configuration>

<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×