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

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 37

  • @programmingcheatsheet
    @programmingcheatsheet 2 роки тому +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 Рік тому

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

  • @franciscocernadasromero5130
    @franciscocernadasromero5130 3 роки тому +1

    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!

  • @CreativeAI-900B
    @CreativeAI-900B 3 роки тому +5

    love this video

  • @mfsniper2
    @mfsniper2 2 роки тому +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

  • @DanielGheorghitaBalan-lc2pw
    @DanielGheorghitaBalan-lc2pw 10 місяців тому

    Awesome thank you!

  • @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.

  • @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.

  • @aleksadacic
    @aleksadacic 3 роки тому +2

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

  • @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?

  • @saikirank6357
    @saikirank6357 2 роки тому

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

  • @vannakdy4974
    @vannakdy4974 Рік тому

    Thank

  • @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

  • @РандомБольшойрандом

    Not work

  • @crackrokmccaib
    @crackrokmccaib Рік тому +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 10 місяців тому +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 10 місяців тому +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 10 місяців тому

      @@souleymaneadellah1176😂

    • @chitranshsrivastava5880
      @chitranshsrivastava5880 4 місяці тому

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

    • @souleymaneadellah1176
      @souleymaneadellah1176 4 місяці тому

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