1 ) run application 2 ) mvn spring-boot:run 3 ) 先编译 mvn install 然后执行 java -jar demo-0.0.1-SNAPSHOT.jar 或者