My First Spring-Boot Project

Posted bensonlim

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了My First Spring-Boot Project相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

My First Spring-Boot Project

my first go

My first program and first blogs-三级菜单

my first blog

my first python blog

My First Blog