Home » Java » The Maven project Java -jar command prompts, "ther...

The Maven project Java -jar command prompts, "there is no master list property.""!

adds the following code in pom.xml:





org.apache.maven.plugins
maven-shade-plugin
1.2.1


package

shade




com.mkyong.App









Then re package, you can run the project.
through the.Jar file



copyright notice: This article is original article for blogger. Without permission from blogger,.

must not be reprinted

Latest