一、java -jar 二、eclipse中 Java Application 三、命令行 gradle bootRun 转载于:https://www.cnblogs.com/new-moon/p/9974526.html