1.新建 2. 3. 4.启动,在类中右键-->RunAs-->SpringBoot App,一切正常就会看到如下结果 转载于:https://www.cnblogs.com/lpzpp/p/11283932.html