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.

 

posted @ 2017-10-16 15:18  anunicode  阅读(155)  评论(2编辑  收藏  举报