Reason: the meta-inf/manifest.mf file in the jar package is missing the key value pair of “main class”
terms of settlement:
<build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>com.u1w2.sla.App</mainClass> </manifest> </archive> </configuration> </plugin>
logo