First of all, I apologize for my english. When I try to create a .spring MVC project, I first created a maven project. Then, in pom.xml, nothing happens to my section. Below are the pom.xml and the project settings showing the mavel's fault.
Just update maven repository.Settings-> Build, Execution... -> Builds Tools -> Maven -> repositories.
[![enter image description here][3]][3]
You need to update/scan your repositories before you can use the auto-completion in the pom files.
Open Settings
-> Build, Execution, Deployment
-> Build Tools
-> Maven
-> Repositories
, select the repository you want to update and hit the Update
button.
(transferred comment to an answer to let others find it)