首页 > 编程语言 > 详细

My First Spring-Boot Project(1)

时间:2018-09-23 16:58:47      阅读:195      评论:0      收藏:0      [点我收藏+]

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)

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!