Package 1 project
1.1 Right-clicking on the desired packaged items, as shown in FIG click Maven clean
here before Maven will clear out all of the information package for this project.
1.2 be finished Maven clean
after the operation, the following message appears in the eclipse console.
1.3 Then we re-needed right-packaged items, as shown in Figure ... Click maven build
1.4 pop-up interface, the following operation of FIG.
"Goals" input box -X package
, and check underneath Update Snapshots
and Skip Tests
option boxes
1.5 These results occur, then the package was successful.
1.6 refresh our project, we are able to project target
to find us a good package directory war
package.
1.7 Open cmd: war package into the directory and run java -jar (the name of the war package), you can successfully start the project