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
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