码迷,mamicode.com
首页 > 编程语言 > 详细

My First Spring-Boot Project(1)

时间:2018-09-23 18:20:59      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:and   ring   env   ide   try   environ   a20   wing   already   

First of all, open the IDE -----> IDEA

click File ->New Project

技术分享图片

 

Choose the basic spring-boot version. now I choose 2.1.0 M2, although i don‘t known the differences between them.

Dependencies : choose what you need ,or you can choose little but add later.

技术分享图片

 技术分享图片

Aspect use for showing the processing message while a request is dealing. very useful for debugging.

技术分享图片

Alright, it‘s already provided here.

技术分享图片

技术分享图片

now set the Gradle Environment.

技术分享图片

there is a POINT :

技术分享图片

what‘s the difference?

 

SpringBoot v2.1.0.M2 needs Gradle 4.0 above. 

so choose 

 技术分享图片

Download too much...

技术分享图片

before:

技术分享图片

after: still have no folder for src and webapp

技术分享图片

 Well create Folders and files , but you must obey these rules:

 技术分享图片

rebuild:

技术分享图片

OK, finally something came out. promotion!

技术分享图片

Which one needs to put in ?

These two:

技术分享图片

Can We  Run Now?

try:

技术分享图片

技术分享图片

Nothing we can see. But its too late , see you tomorrow! Have a nice day.

 

技术分享图片

 

My First Spring-Boot Project(1)

标签:and   ring   env   ide   try   environ   a20   wing   already   

原文地址:https://www.cnblogs.com/bensonlim/p/9640617.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!