Issue
I'm cloning my maven project from GIT and then doing mvn clean install. My dependencies are downloaded successfully, but I'm not able to see it in External Libraries. Also my code shows red colored as if dependencies are not available. I did Invalidate cache/restart, did re-cloning, removed .idea folder, but no luck.
Any solution to this?
THanks!
Solution
Make sure you have opened the Project as Maven project and that it has been imported successfully from Maven pom.xml build file. In an existing project you can import Maven from Maven tool window. See Link a Maven project steps:
Open the Maven tool window.
In the Maven tool window, click the
+
icon to attach a Maven project.In the dialog that opens, select the desired
pom.xml
file, and click OK.
Answered By - Andrey
Answer Checked By - Katrina (JavaFixing Volunteer)