java - No option to reimport dependencies in Maven (IntelliJ) -
i added dependency pom.xml file cannot find option import dependency. i'm not able use library in program.
i've looked online , many suggest going settings -> maven -> .... option not exist me.
i have seen other solutions of right clicking pom.xml -> maven -> reimport. again, don't have option. pretty sure maven project.
does know might problem?
you might need configure auto-import maven projects. can enable such feature going file > settings > maven > importing. there checkbox says "import maven projects automatically". if can't find option, try using ctrl+shift+a helps find actions name. write "maven" , check alternative suits best.
if not work, open "maven project" panel. find @ right side of ide. there have reimport button.
edit:
a few weeks ago, faced same problem when reimporting project. due intellij didn't remember setting maven setting file. needed override default "user settings file" (see picture below) valid ~/.m2 path.


Comments
Post a Comment