maven run the project

1.cd to the project directory, execute the command ----- mvn package packing

target directory 2.cd run command to execute the project

java -classpath myapp-1.0-SNAPSHOT.jar cn.maxhou.demo.App

 

Guess you like

Origin www.cnblogs.com/max-hou/p/10944017.html