Right click on the pom.xml -> Add as Maven project -> Reimport

No matter how I create my Spring boot project, IntelliJ is unable to recognize the dependencies in pom file and more!
IntelliJ doesn't detect that a Java project is using Maven for building, even if it offers some maven functions (but not the clean install ones) - Stack Overflow
Can't add Maven support to existing project
IntelliJ IDE with Maven has problems problems resolving paths when using standard Java 9 modules + package names.
Videos
Right click on the pom.xml -> Add as Maven project -> Reimport

After installing IntelliJ IDEA on a new computer I found myself with the same issue.
I had to update the remote maven repository. (Settings > Maven > Repositories)

Both local and remote repos needed to be updated. The remote one wasn't updated ever before this. After a restart everything worked fine. You might have to reimport your project.
Like the title states, it doesn't matter if I create a new Spring project using the initialzr, maven archetype, or just standard java project, the dependencies I place in the pom file cannot be located unless I have it completely rebuild the project.
Furthermore, I believe it's having general issues with my pom file since the behavior that I see in the app does not line up with that I am expecting, i.e. projects will stop running immediately even if the spring-boot-starter-web dependency is in my pom file.
It's getting to the point that I dread having to create a new project in IntelliJ.
I'm not looking for temporary solutions since this occurs with every project now. How should I proceed? Would a fresh reinstall of IntelliJ help? Are there any downsides to that?
I apologize if this post is lacking in details, but that's partially because I'm venting my frustration and because I'm not sure how helpful details will be given that this is an ongoing issue.
Close the project and delete the intellij files. Then, open the project but select the POM as the project, not the folder. Intellij will then detect the maven project.
Comment posted by Software Engineer.
Step 1 --> Delete all ".idj" from each folder that does not read including the parent pom folder
Step 2 --> Click on the maven refresh button to search again. I hope I have helped, this is how I have achieved it, when there are multiple projects it gives many problems intellij.

The title pretty much sums up the issue but I will provide more context here. I am self learning Java so the error could be on me but I can't seem to get IntelliJ to do this.
I have a simple console application that I built and my next step in learning was to add Maven support (not suggested by me). I followed the instructions in the docs to a T but it seems to fail on step 5. Here is step 5:
"IntelliJ IDEA detects a Maven build script and displays a notification suggesting to load a Maven project. Click Load Maven Project. IntelliJ IDEA adds a default POM to the project and generates the standard Maven layout in Project tool window."
I've created the pom.xml file and clicked 'Load Maven Project' on the rare occasions that the button does pop up but I get nothing. It does not generate the standard Maven layout and I run into all kinds of errors when I try to do that manually.
Has anyone else ran into this? I am on version 2025.1.2 on IntelliJ btw.
EDIT: Turns out manually adding the project file structure was a skill issue on my part. I did not correctly import my files with the new files.
IntelliJ still does not automatically create the project structure as stated in their docs though.