Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring boot project imported in intellij not working

I have imported spring boot project generated from spring boot initialiazr website and the project spring boot packages are not found.

Please seee the image below

Image error from intellij

Please help

like image 946
Jean-Pascal MEWENEMESSE Avatar asked Jul 17 '17 13:07

Jean-Pascal MEWENEMESSE


2 Answers

I tried this and it worked, "Right click on the pom.xml file", and select "Add as maven project"

It should resolve or reimport all the dependencies, and it should work.

like image 138
Matthew E Avatar answered Sep 28 '22 21:09

Matthew E


You need to download libraries so right click project, go to "Maven" option in menu then click "ReImport" or "Download Sources and Documentation" option in sub menu. It will download libraries.

like image 22
javasenior Avatar answered Sep 28 '22 23:09

javasenior