You can go to Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing and check the box that says Import Maven projects automatically.

In Mac, you can do Command + Shift + A, then enter the action reimport, then click on Reimport all Maven projects.

Answer from chepukha on Stack Overflow
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 4403516074258-External-Libraries-do-not-update-when-changing-Spring-Boot-Gradle-plugin-version
External Libraries do not update when changing Spring Boot Gradle plugin version – IDEs Support (IntelliJ Platform) | JetBrains
In my Gradle project, I recently updated the version of the Spring Boot Gradle plugin from 2.1.3-RELEASE to 2.5.0 Unfortunately, despite many refresh of the dependencies via the Gradle tab, the dependencies listed in the External Libraries section of the module do not update... Then when I execute some tests, I got weird errors which seem to be linked to the presence of two different versions of AssertJ library. gradlew -q dependencies --configuration testRuntimeClasspath · gives the right information about the AssertJ version (3.19.0) but Intellij is still stuck at 3.11.0
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206173719-Changes-to-external-Java-library-not-picked-up-by-compiler
Changes to external Java library not picked up by compiler? – IDEs Support (IntelliJ Platform) | JetBrains
February 24, 2015 - I would try deleting the dependencies caches that IDEA makes in C:\<USER_HOME_FOLDER>\.IntelliJIdea<VERSION>\system I can not remember right now which was the exact folder - chaches, index, jars or other ...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206382469-How-to-update-external-library
How to update external library? – IDEs Support (IntelliJ Platform) | JetBrains
When I update my library (make and then build artifacts), in second project changes don't appear. For example: 1. Add new class in library (first project) SomeClass 2. Make, build artifacts 3. In second project when I create SomeClass object, it has red color, but project successfully compile. How to say Idea to rescan classes from library? P.S. Intellij IDEA Community edition 9.0.4, Windows XP SP3
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-176131 › External-libraries-doesnt-get-downloaded-when-importing-projects
External libraries doesn't get downloaded when importing ...
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 21018745944594-Project-view-doesn-t-refresh-external-libraries
Project view doesn't "refresh" external libraries – IDEs Support (IntelliJ Platform) | JetBrains
August 28, 2024 - I'd create a file or a folder in an “external library” from the project view, and the project view won't show it – I have t switch to another project and then back in order to see it.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360010618919-IntelliJ-Idea-not-removing-external-libraries
IntelliJ Idea not removing (external) libraries – IDEs Support (IntelliJ Platform) | JetBrains
April 21, 2021 - To fix this I tried: - manually deleting those libraries in IntelliJ: this works until the next 'reload' which load all the versions you ever entered - manually deleting the .iml file: as soon as this file is recreated, the problem returns - ...
Find elsewhere
🌐
GitHub
github.com › gradle › gradle › issues › 2400
External Dependencies downloaded but not pulled in IntelliJ even after clearing gradle cache · Issue #2400 · gradle/gradle
July 6, 2017 - I added few dependencies like okhttp and following that i had add gson dependency to prettify json and gemfire for inmemory. but the last dependencies never appears in the project compilation in IntelliJ. I can't use the library. Infact can't use any latest library.
Author   gradle
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360007873419-Is-there-a-way-to-refresh-the-project-libraries-
Is there a way to refresh the project libraries ? – IDEs Support (IntelliJ Platform) | JetBrains
April 6, 2020 - Using a custom toolbar button, I am updating a JAR file that is already added to the project Libraries. When I run the toolbar action, the JAR file gets updated, but the updates are not reflected in IntelliJ project. Is there a way to manually ask intellij to re-index classes in project libraries?
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-261784
Jetbrains
March 30, 2022 - {{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-261784 › 2020.3.1-and-2020.3.2-doesnt-update-the-dependencies-after-updating-pom
2020.3.1 and 2020.3.2 doesn't update the dependencies ...
March 17, 2022 - {{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-88697
IDEA doesn't refresh dependencies changed in build. ...
March 19, 2022 - {{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 10347092032146-External-Lib-showing-up-but-I-can-t-import-it
External Lib showing up, but I can't import it – IDEs Support (IntelliJ Platform) | JetBrains
The `traac-core` 2.4.0 might depend on the `jackson` but the `2.5.0` does not. Add `implementation in your `build.gradle`'s `dependencies` section and reimport it to fix it. ... Hi Lejia Chen, I have control over the traac-core code. In fact my original intention was to update the jackson version in traac-core and use the new traac-core in traac-java.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360003887520-IntelliJ-not-resolving-Maven-dependencies
IntelliJ not resolving Maven dependencies – IDEs Support (IntelliJ Platform) | JetBrains
June 2, 2019 - Seems to me that the libraries folder in .idea just never updated. Hope this helps someone ... The only way to make it work is to perform a maven build outside of IntelliJ and then it works.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206903515-Not-all-Maven-dependencies-appear-in-External-libraries-
Not all Maven dependencies appear in "External libraries" – IDEs Support (IntelliJ Platform) | JetBrains
March 30, 2012 - I also had this problem, I tried everything mentioned here, but they did not work!! the issue was that in maven projects section, my maven projects were ignored for some reason!!So I just right clicked on each project and clicked unignore project!!after that I did everything mentioned here and it worked ... @Jmeen011 Your answer worked for me, I simply had to do invalidate caches and restart for intelliJ to reinsert all my dependencies.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 207108385-IntelliJ-not-able-to-resolve-classes-of-external-Libraries-for-Maven-projects
IntelliJ not able to resolve classes of external Libraries for Maven projects – IDEs Support (IntelliJ Platform) | JetBrains
February 2, 2016 - 2. It should not be a problem, the jars are enough. 3. External dependencies shows everything, it could be that the dependency is added to some other module and the module that has the problem doesn't have this specific dependency for some reason. Please try to delete .idea directory and .iml files, then reimport the project from Maven. ... Can I consider adding the required libraries for the particular module as dependencies?
🌐
GitHub
github.com › go-lang-plugin-org › go-lang-idea-plugin › issues › 2861
Can not update External Libraries tree after change project SDK · Issue #2861 · go-lang-plugin-org/go-lang-idea-plugin
January 12, 2017 - The External Libraries tree can be updated immediately after I change project SDK. ... It always displays the same Go SDK no matter how I change the project SDK. I run the plugin from source using Gradle. Additionally, I think go-lang-idea-plugin and intellij-erlang have a similar internal ...
Author   go-lang-plugin-org
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000405770-How-to-rebuild-project-structure-libraries-
How to rebuild project structure libraries? – IDEs Support (IntelliJ Platform) | JetBrains
July 21, 2017 - Gradle builds work fine but Intellij build fails. ... I may have to add: It was a Gradle library I removed. The empty entry is still missing in Project Structure->Libraries but classes and source are missing. Gradle refresh does not work. ... Delete .idea directory and reimport from build.gradle. ... Nevermind. Gradle refresh did work, but i had to select the specific Gradle (sub)project for refreshing external libs.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360007681700-How-to-refresh-external-libraries-on-a-remote-host-
How to refresh external libraries on a remote host? – IDEs Support (IntelliJ Platform) | JetBrains
September 3, 2020 - Update of external libraries on remote host is not reflected in Pycharm. Is there any way to force it? My Pycharm version is 2019.3.3 In case of CLion it has a button that do this as below, but ...