Java development with Spring Boot: Importing skeleton to IntelliJ Java IDE

in hive-109160 •  3 years ago 

spring-banner.png

This is the third post on the Spring Boot posts series. You can read the previous one here:

In this post, we'll import into IntelliJ Java IDE the app skeleton that we created in the previous post

As I said before, sorry about any mistake, because English is not my natural language, and I'm still learning it. If you find any problem, please, report it to me and I'll fix it as soon as I can.

Import skeleton into IntelliJ Java IDE

Open IntelliJ Java IDE and click on the "Open" button:

image.png

Choose the directory where we previously unzipped the skeleton files and wait until the new project is opened in the IDE:

image.png

First execution

To configure the project execution from the IDE click on "Add configuration" on the toolbar:

image.png

Now, click on "Add new..." link (or "+" button) and select "Maven":

image.png

Write "spring-boot:run" in the command line section and click "OK".

image.png

Now we can open our browser pointing to http://localhost:8080. An error will show because we haven't defined yet any valid content:

image.png

In the next post, we'll create some content to display in our web application

I hope you're enjoying these posts. Please, share with me any comments.

See you soon!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
Loading...