Export to jar maven sub package and run

The first step: choose this idea maven projects right sidebar

 

 

 Step two: Select the required lifecycle under packed into the jar package project

 

 

 Step Three: Select package

 

 

 Step 4: Click Start Export

 

 

Step 5: Open the jar file winRAR 

Step Six: Open the META-INF file

Step Seven: Open MANIFEST.MF file

Step eight: Figure

 

 

 

Step 9: Address \ jre \ lib \ ext. Jre find their own computer storage address, the pom jar package in the dependency of various types of files into ext

Step 10:

 

Guess you like

Origin www.cnblogs.com/mxsa/p/11726680.html