Creating a Spring Boot "Hello World" Application with IntelliJ IDEA

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 37

  • @franciscocernadasromero5130
    @franciscocernadasromero5130 3 ปีที่แล้ว +2

    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!

  • @programmingcheatsheet
    @programmingcheatsheet 3 ปีที่แล้ว +17

    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.

    • @crackrokmccaib
      @crackrokmccaib 2 ปีที่แล้ว

      Exactly. Nothing is explained. It's just blah blah blah. I'm saying stuff and typing stuff. Not helpful at all.

  • @CreativeAI-900B
    @CreativeAI-900B 3 ปีที่แล้ว +5

    love this video

  • @DanielGheorghitaBalan-lc2pw
    @DanielGheorghitaBalan-lc2pw 11 หลายเดือนก่อน

    Awesome thank you!

  • @mfsniper2
    @mfsniper2 3 ปีที่แล้ว +3

    I have a question about Option "New project", only IntelliJ IDEA 2021 "ULTIMATE VERSION" has option Spring Initializr? Community Version no more?

    • @aichabouchraabdoune963
      @aichabouchraabdoune963 2 ปีที่แล้ว +1

      no cmmunity version has it too

    • @lokeshks5956
      @lokeshks5956 2 ปีที่แล้ว +2

      I added Spring in community by installing spring plugin .. File -> Settings -> Plugins -> Spring Initializr

  • @JadeWisdom
    @JadeWisdom 3 ปีที่แล้ว +10

    I don't have an option for spring initializer

    • @saikishore6154
      @saikishore6154 3 ปีที่แล้ว

      same problem

    • @satancros
      @satancros 3 ปีที่แล้ว +5

      for only intelliJ idea ultimate

    • @aroundtheglobe7720
      @aroundtheglobe7720 2 ปีที่แล้ว +1

      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.

  • @aleksadacic
    @aleksadacic 3 ปีที่แล้ว +2

    i can't say this voice is beautiful but it makes me feel something

    • @aleksadacic
      @aleksadacic 3 ปีที่แล้ว

      actually it is beautiful

  • @JOSHUAMCBRATNIE
    @JOSHUAMCBRATNIE ปีที่แล้ว +2

    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":"/"}

    • @adricozza
      @adricozza ปีที่แล้ว +1

      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.

  • @barfyman3Six2
    @barfyman3Six2 3 ปีที่แล้ว +1

    Now record the exact same screencast but with gradle and kotlin

  • @Luke_uppx
    @Luke_uppx 3 ปีที่แล้ว

    More video like this, simple steps

  • @Viraj-pw4tz
    @Viraj-pw4tz 2 ปีที่แล้ว

    Nicely explained

  • @samim7373
    @samim7373 ปีที่แล้ว

    Dis you skip how to add external spring library?

  • @shrishtisingh4009
    @shrishtisingh4009 2 ปีที่แล้ว +1

    It was showing error in CheckHTTPResponse. "Failed to resolve org.junit..platform:junit.platform.launcher:1.8.2". How to resolve it?

  • @djamsterdam007
    @djamsterdam007 3 ปีที่แล้ว +1

    "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

  • @saikirank6357
    @saikirank6357 2 ปีที่แล้ว

    Hey how to use scala language instead of java ???

  • @vannakdy4974
    @vannakdy4974 ปีที่แล้ว

    Thank

  • @РандомБольшойрандом
    @РандомБольшойрандом ปีที่แล้ว +1

    Not work

  • @crackrokmccaib
    @crackrokmccaib 2 ปีที่แล้ว +2

    Blah blah blah. Thanks for going 100 mph.

  • @semlon5266
    @semlon5266 ปีที่แล้ว

    please make your produkts cheaper 😥😥😥😥

  • @souleymaneadellah1176
    @souleymaneadellah1176 3 ปีที่แล้ว +9

    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.

    • @badscrew4023
      @badscrew4023 ปีที่แล้ว +1

      Well, how else you gonna get this juicy and stable job of enterprise java developer? 1 line of code doesn't pay your bills.

    • @souleymaneadellah1176
      @souleymaneadellah1176 11 หลายเดือนก่อน +3

      @@badscrew4023 lol your replies reminded me of my old comment, now I am a spring feveloper lol. I get it about Java now.

    • @badscrew4023
      @badscrew4023 11 หลายเดือนก่อน

      @@souleymaneadellah1176😂

    • @chitranshsrivastava5880
      @chitranshsrivastava5880 5 หลายเดือนก่อน

      ​@@souleymaneadellah1176 So how's java treating you now?

    • @souleymaneadellah1176
      @souleymaneadellah1176 5 หลายเดือนก่อน

      @@chitranshsrivastava5880 lol I was so freakin dumb.

  • @karolsroka8957
    @karolsroka8957 ปีที่แล้ว

    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))