Creating a Spring Boot "Hello World" Application with IntelliJ IDEA
Vložit
- čas přidán 26. 07. 2024
- In this screencast, we’re going to create a simple Spring Boot Hello World application which will display some text locally in our browser.
*Author: Helen Scott
Discover more about IntelliJ IDEA's features for Spring: jb.gg/spring
Download IntelliJ IDEA: jb.gg/download-intellij-idea
Top 15 IntelliJ IDEA shortcuts: • Top 15 IntelliJ IDEA s...
Join us:
Website jb.gg/website
Blog jb.gg/blog
Twitter / intellijidea
Facebook / intellijidea
#intelliJIDEA #intelliJ #jetbrains #java #programming #springboot - Věda a technologie
I've been using the 2020 version for a time, but with this upgrade you have crowned! very easy example and steps to reproduce and put in a future project to test it, good job and keep it up please!
Awesome thank you!
Nicely explained
More video like this, simple steps
love this video
Thank you!
Easy enough to follow along with, but I'd like to see future videos make more of an attempt to explain details. What is a spring rest controller? What is a TestRestTemplate? The details about the request mapping are glossed over. Not quite sure how adding a string to the new "HelloWorldController" class ties to the "HelloWorldApplication" class. This video seems weirdly targeted to a demographic that knows all these details about spring boot, yet whom can't write a "hello world" program.
Exactly. Nothing is explained. It's just blah blah blah. I'm saying stuff and typing stuff. Not helpful at all.
I have a question about Option "New project", only IntelliJ IDEA 2021 "ULTIMATE VERSION" has option Spring Initializr? Community Version no more?
no cmmunity version has it too
I added Spring in community by installing spring plugin .. File -> Settings -> Plugins -> Spring Initializr
i can't say this voice is beautiful but it makes me feel something
actually it is beautiful
im having an issue with the assert equals returning the same string it is instead
returning this
Expected :Hello World from Spring Boot
Actual :{"timestamp":"2023-05-30T16:06:07.012+00:00","status":404,"error":"Not Found","path":"/"}
It happens because the application is not reaching the server, and at the page localhost:8080 the test found the error instead of hello world string. Check that everything is written correct and that the controller file is at the same level of the helloworldapplication file.
Now record the exact same screencast but with gradle and kotlin
Hey how to use scala language instead of java ???
Thank
I don't have an option for spring initializer
same problem
for only intelliJ idea ultimate
You can generate spring initializer from their web page if you don't have ultimate version of intellij. Just type spring initializer and download the file once you set it up. In intellij, open that file and its the same.
Dis you skip how to add external spring library?
It was showing error in CheckHTTPResponse. "Failed to resolve org.junit..platform:junit.platform.launcher:1.8.2". How to resolve it?
"Hello World from Spring Boot" and "Goodbye from Spring Boot" Strings should be stored in String variable, in my opinion, nevertheless it's a great tutorial
Not work
Blah blah blah. Thanks for going 100 mph.
please make your produkts cheaper 😥😥😥😥
So all this shit just to print hello world???????? Thats why I'll never understand people who use Java. You can do this whole thing with 1 line of PHP.
Well, how else you gonna get this juicy and stable job of enterprise java developer? 1 line of code doesn't pay your bills.
@@badscrew4023 lol your replies reminded me of my old comment, now I am a spring feveloper lol. I get it about Java now.
@@souleymaneadellah1176😂
@@souleymaneadellah1176 So how's java treating you now?
@@chitranshsrivastava5880 lol I was so freakin dumb.
java: no suitable method found for getForObject(java.lang.String)
method org.springframework.boot.test.web.client.TestRestTemplate.getForObject(java.lang.String,java.lang.Class,java.lang.Object...) is not applicable
(cannot infer type-variable(s) T
(actual and formal argument lists differ in length))