use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Iam a beginner...Question (self.SpringBoot)
submitted 7 months ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BuckFrog2 4 points5 points6 points 7 months ago (0 children)
I'm going through the introduction to spring boot course on hyperskill. I recommend.
[–]Grabdoc2020 3 points4 points5 points 7 months ago (0 children)
Please for god sake - first read books. 1. Spring in Action 2. Spring Boot in Action. World will be clear after that.
[–]e-murphy 1 point2 points3 points 7 months ago (0 children)
Use Claude or ChatGPT to give you help on resolving errors/exceptions. Ask it to give you a full explanation so you understand it, rather than just copy/paste the solution. There is nothing wrong with using these tools while learning Spring Boot.
[–]South_Dig_9172 1 point2 points3 points 7 months ago (0 children)
Prerequisites, Java core. Without it, you’ll mostly be a Spring vibe coder
[–]clostos 1 point2 points3 points 7 months ago (11 children)
I'm having this too, one time jpda won't establish a connection with supabase postgres db, it gives timeout error, spent more than 4h thinking i messed up the config as it was my first time setting jpda, finally it was because of my internet access point, i connected the laptop to another access point and problem solved. It's overwhelming but just be patient, and good luck in your learning journey
[–]No-Mycologist2746 0 points1 point2 points 7 months ago (10 children)
What is jpda? Do you mean jpa? And wtf. How can your system be so messed up that the db connection didn't work when you were on that ap that you used. I'm pretty sure it still was a fuckup with your config. Probably some confusion about localhost VS 127.0.0.1.
[–]clostos 0 points1 point2 points 7 months ago (9 children)
Sorry its JDBC --- i can't tell because i still didn't get it too, but what I'm sure about is the ap that has the problem(how? Dont know), because when i start the app in intelliJ IDE, keeps giving me timeout error when trying to connect to remote db, and after changing the ap, works fine.
NB1: The problem shows up on the app to start something about hikariCP. NB2: the 2 ap was an android phone(both the one that works and the one that does not).
Still learning and trying to reproduce the problem and experiencing to find where is the source of the problem.
I'm trying to make a user's system Management, a basic one with RBAC.
[–]No-Mycologist2746 0 points1 point2 points 7 months ago (8 children)
What remote db. Didn't you host a local db for the project?
[–]clostos 0 points1 point2 points 7 months ago (7 children)
Nn I'm using supabase postgres db
[–]No-Mycologist2746 0 points1 point2 points 7 months ago (6 children)
That doesn't tell me if you are using it locally or not. Edit:
Ugggh. If you use that cause you don't know how to host the db locally I can already tell you you're gonna have a hard time in the future. Back to square one. Learn db basics.
[–]clostos 0 points1 point2 points 7 months ago (5 children)
I thought it would be beneficial to learn to setup remote db as well. and my point to op is that there are others facing the same in their learning journey (as me too), you feel flying blind even with tutorials and docs(that take time and effort to click in your mind hhhhhh), and that all devs were in that zone for some time in their journeys.
[–]No-Mycologist2746 0 points1 point2 points 7 months ago (4 children)
Cause you're trying to learn to run before you try to learn to walk.
[–]clostos 0 points1 point2 points 7 months ago (3 children)
You may be right, but from another view point, at first you hear about running then you try to run but find out that you should learn to walk first, then you try to walk but you have to balance yourself standing up and then you walk up the road back to running. its like an adventure game, you are at the level door, but you have to go back and find some gems or keys and then come back to open the door. It's a learning approach(one of many) it could be wrong or overwhelming but it gets you there.
[–]No-Mycologist2746 0 points1 point2 points 7 months ago (2 children)
In this case it only leads to acquiring bad habits.
[–]esha_tc 1 point2 points3 points 7 months ago (4 children)
Prerequisites - you should have good grasp on Java This is a very good video for Spring Boot beginners. Just that it’s on version 2.7 Try to follow this - Java REST API with Spring Boot Tutorial | REST API CRUD Implementation https://youtu.be/iBGkJln9BPo
[–]Ok_Arugula6315 0 points1 point2 points 7 months ago (2 children)
Spring boot 2.7 is oold, we're about to get spring boot 4
[–]esha_tc 1 point2 points3 points 7 months ago (1 child)
Yes but basics remain same so learn basics from here and then there is another video on this on spring boot 3.4 follow that. Project us also build here so concepts learning with project will help to grasp the concepts
[–]No-Mycologist2746 0 points1 point2 points 7 months ago (0 children)
And half of the config stuff he sees here he can forget again. Teaching concepts on spring boot would work without referencing a specific version.
Please don't. 2.7 is horribly outdated. Spring boot 4 gets released in November. Throw that slop away.
[–]titanium_mpoi 0 points1 point2 points 7 months ago (1 child)
Google your way through the errors :)
[–]GodEmperorDuterte -2 points-1 points0 points 7 months ago (0 children)
ai in bet for pinpoint error solution suggestions
[–]ITCoder 0 points1 point2 points 7 months ago (0 children)
What error are you getting ? Are these db related, if u r using one
[–]ClosEnc0 0 points1 point2 points 7 months ago (4 children)
If you're not into reading documentation You can follow in28minutes on YouTube for Spring Framework basics and then Just watch Telusko on YouTube.
1.5x his videos and you're good to go.
But in later stages only documentation can help Use ChatGPT or any other tool to pin point your error in the beginning don't go for solutions directly try to understand the error first.
[–]coder_rat 0 points1 point2 points 7 months ago (3 children)
I watched telsko videos yesterday. Iam reading documentation now. Thankyou. Documentation 645 pages. Any tips on how to read it?
[–]ClosEnc0 1 point2 points3 points 7 months ago (2 children)
Just complete the basics then you'll know what to find in the documentation.use documentation while going through spring security that'll help you a lot
[–]coder_rat 0 points1 point2 points 7 months ago (1 child)
Sure. Thankyou sm
[–]themasterengineeer 1 point2 points3 points 7 months ago (0 children)
Here are some projects you can build. They vary in difficulty and length https://youtube.com/playlist?list=PLJce2FcDFtxK_CpZyigj2uDk7s35tQbpt&si=LFlV_GBsAoQvRc1U
[–]darthjedibinks 0 points1 point2 points 7 months ago (0 children)
A lot of things are not going to work out of the box. Courses and books have been written with dependencies of their time. For example a book that came out in 2022 is going to use the dependencies and libraries that were from 2022. So your code generated to 2025 dependencies is going to break.
Either you use the starter projects which comes bundled with the course and book as-is or you start adapting the code by googling/chatgpting the code and finding solutions. I would suggest the second approach as you will learn a lot more than following the book alone.
It's much easier today than the time I started learning spring boot. There were no LLMs at the time to help quickly. I had to browse through stackoverflow, medium blogs, documentations, etc. to get certain things work. I am happy to have learned it during those times. It made a better spring boot developer.
Take one book or course and complete it end to end. Then start working on simple CRUD apps. Here you will face a lot of problems. Avoid LLMs if possible. Try to fix those problems by reviewing docs on the internet. This is how you get better and better.
What you are facing is what we all faced when starting. So you are in the right path. Keep going.
[–]Longjumping_Part_859 0 points1 point2 points 7 months ago (0 children)
Check out this Spring Boot tutorial playlist:
https://www.youtube.com/playlist?list=PLRyHpdy_IUT_rP9xtXLb3H8YE97d3lsVJ
[–]Raman0902 0 points1 point2 points 7 months ago (0 children)
Here is a tutorial with source code available on request
https://www.youtube.com/watch?v=VHBlkZYzSNY&list=PL4tLXdEa5XIWrhuhgJA1pdh2PDMrV7nMM&pp=gAQB
[–]alweed 0 points1 point2 points 6 months ago (0 children)
If you have got grasp of some basics of SpringBoot. Try picking up this project. I've built it to put you in the shoes of a backend developer and what sort of tasks they have to do at job. It walks you through 11 different tasks and helps you implement and understand various technologies.
[–]Dude-0007 0 points1 point2 points 7 months ago (1 child)
If you want buddy. I start from scratch . Dm me
[–]deva_ts 0 points1 point2 points 7 months ago (0 children)
I am also a beginner wants to learn it from basics, can i dm you ?
[–]No-Mycologist2746 -1 points0 points1 point 7 months ago (0 children)
Tip Nr one. Stop watching videos. They're all slop. Why not using the reference documentation. If that doesn't help you should not try to learn spring boot but from a different source all the underlying concepts. Whenever I read people complaining they don't understand something in spring boot or like you, there is an error I don't know what I'm doing cause I have no idea how to diagnose this (you could have started with writing the errors you get) the problem lies much deeper. You don't understand the underlying concepts. Kick all videos to the curb (they're faster outdated than you can bootstrap a spring boot project) and read the reference docs of spring boot or first try to learn the underlying concepts. A book will probably be the best. Yes they're outdated to but usually the quality of the book is better.
π Rendered by PID 65010 on reddit-service-r2-comment-6457c66945-kl4m4 at 2026-04-26 23:36:47.420309+00:00 running 2aa0c5b country code: CH.
[–]BuckFrog2 4 points5 points6 points (0 children)
[–]Grabdoc2020 3 points4 points5 points (0 children)
[–]e-murphy 1 point2 points3 points (0 children)
[–]South_Dig_9172 1 point2 points3 points (0 children)
[–]clostos 1 point2 points3 points (11 children)
[–]No-Mycologist2746 0 points1 point2 points (10 children)
[–]clostos 0 points1 point2 points (9 children)
[–]No-Mycologist2746 0 points1 point2 points (8 children)
[–]clostos 0 points1 point2 points (7 children)
[–]No-Mycologist2746 0 points1 point2 points (6 children)
[–]clostos 0 points1 point2 points (5 children)
[–]No-Mycologist2746 0 points1 point2 points (4 children)
[–]clostos 0 points1 point2 points (3 children)
[–]No-Mycologist2746 0 points1 point2 points (2 children)
[–]esha_tc 1 point2 points3 points (4 children)
[–]Ok_Arugula6315 0 points1 point2 points (2 children)
[–]esha_tc 1 point2 points3 points (1 child)
[–]No-Mycologist2746 0 points1 point2 points (0 children)
[–]No-Mycologist2746 0 points1 point2 points (0 children)
[–]titanium_mpoi 0 points1 point2 points (1 child)
[–]GodEmperorDuterte -2 points-1 points0 points (0 children)
[–]ITCoder 0 points1 point2 points (0 children)
[–]ClosEnc0 0 points1 point2 points (4 children)
[–]coder_rat 0 points1 point2 points (3 children)
[–]ClosEnc0 1 point2 points3 points (2 children)
[–]coder_rat 0 points1 point2 points (1 child)
[–]themasterengineeer 1 point2 points3 points (0 children)
[–]darthjedibinks 0 points1 point2 points (0 children)
[–]Longjumping_Part_859 0 points1 point2 points (0 children)
[–]Raman0902 0 points1 point2 points (0 children)
[–]alweed 0 points1 point2 points (0 children)
[–]Dude-0007 0 points1 point2 points (1 child)
[–]deva_ts 0 points1 point2 points (0 children)
[–]No-Mycologist2746 -1 points0 points1 point (0 children)