Reputation: 197
I'm trying to pull spring boot project from github with Intellij Idea 2018 Ultimate.
I did it this way:
1.Clicked Check out from version control in IntelliJ
2.Copied link from github
3.Finished the pull
The problem is that after the pull from git hub all my dependencies are red (On everything it says "Cannot resolve..." ).
Screen of github project structure:
My friend pulled the project the same way like me and he does not have this kind of problem.
Could anyone tell me what may cause this behaviour?
Upvotes: 1
Views: 446
Reputation: 1
In the first image, you can check the Import Maven projects automatically
,
the project is automatically initialized when the pull is complete
Upvotes: 0
Reputation: 11
I think the problem is that the imports didn't recognize the maven dependencies.
Right click on the pom.xml > Maven > Reimport, and that should fix the error.
Upvotes: 1