SpringBoot maven build a new demo

1,File——new——Spring Starter Project;

2,you can define this three item's value, then click next;

3,you just need to select the web item, then click Finish;

4,then, you can see your project like this;

5,you need to add a new class file like this and add the same code.

6,run this file,

7,then, input this url in your power, you can see the succeed result.

原文地址:https://www.cnblogs.com/wonderful-day/p/7677125.html