第一种,将项目打包后运行;1、清理 gradle clean2、编译打包gradle build3、运行jar包java -jar xxx.jar/war第二种,直接启动项目;例如集成的是spring-boot项目,运行命令:gradlew bootRun