I solved this by selecting "Project" as view (by default i had "Project Files"). Hope this helped.

Project View VS. Project Files view

Answer from Luca on Stack Overflow
🌐
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?
Discussions

java - I can't see all librabries in my intellij idea external library folder - Stack Overflow
Question: Why aren't my libraries in Intellij IDEA showing up underneath the SDK in the External Libraries folder?? EDIT The external library folder does only contain libraries which are not in the More on stackoverflow.com
🌐 stackoverflow.com
java - IntelliJ IDEA is only showing External Libraries in the project window - Stack Overflow
Show activity on this post. I am using IntelliJ IDEA 2023.1.2 (Community Edition) and as you can see in the attached image, the project explorer only lists External Libraries. I tried Rebuilding the project, Invalidate Caches and reimporting the root pom.xml from maven menu at right side panel, tried running mvn idea:idea, but still the projects files are not ... More on stackoverflow.com
🌐 stackoverflow.com
java - IntelliJ Doesn't Properly Import Jars - Stack Overflow
I've added them in project structure ... and they show up correctly under libraries as well, but I can't import them in my source code. Is there a step I'm missing here? I'm pretty new to IntelliJ, having used Netbeans exclusively before, so I'm a little lost. I thought it would be simple enough to attach the external libraries and use the classes immediately, but I don't even get the library names on code completion when I type 'import'. ... Make sure the "scope" is set to Compile, not ... More on stackoverflow.com
🌐 stackoverflow.com
How do I import external libraries into a project in IntelliJ?

Not trying to be snarky, but I would suggest throwing basic questions like this into google/stack overflow as they will no doubt give you instant answers and let you get back to coding quickly!

Steps for adding external jars in IntelliJ IDEA:

  • Click File from File menu

  • Project Structure (CTRL + SHIFT + ALT + S on Windows/Linux, ⌘ + ; on Mac OS X)

  • Select Modules at the left panel

  • Dependencies tab

  • '+' → JARs or directories

From: http://stackoverflow.com/questions/1051640/correct-way-to-add-external-jars-lib-jar-to-an-intellij-idea-project

More on reddit.com
🌐 r/javahelp
3
0
February 21, 2017
🌐
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
Hi IntelliJ Support, I have an old library that we built, called traac-core. It has jackson 2.7.2 as dependency, which has vulnerability issue. The old version is 2.4.0. So I've update that to the ...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000609284--jar-not-showing-up-in-IDEA-External-Libraries-
*.jar not showing up in IDEA "External Libraries" – IDEs Support (IntelliJ Platform) | JetBrains
September 30, 2017 - In added an external jar through File->Project Structure and it gave me no errors with adding and the jar is showing up in int project structure->Dependencies List but I can't use the library in my code. ... In case of the Gradle project you should add the dependencies via build.gradle file, not manually.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206185439-Missing-libraries-how-to-import
Missing libraries - how to import? – IDEs Support (IntelliJ Platform) | JetBrains
OK. It looks like during the import you missed a spot (or it was not offered for some reason) to configure the libraries. Since they are all in a single directory, its super easy to add them.
🌐
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 29, 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
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
Find elsewhere
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 207476285-external-library-added-but-import-not-working
external library added but import not working – IDEs Support (IntelliJ Platform) | JetBrains
May 19, 2016 - IDEs Support (IntelliJ Platform) | JetBrains · Contact Support · Community · Sign in · Please consider editing your post and mark it as obsolete instead. Do you want to delete post? Answered · Permanently deleted user · Created May 19, 2016 17:05 · jetbrains 15.0.6 · added hamcrest jar and it shows properly (I.e. I can drill all the way down to methods in the library) under external libraries inside java project, however; import static doesn't find the library.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 19925042059410-Can-t-see-edit-my-own-External-Libraries-anymore
Can't see/edit my own External Libraries anymore – IDEs Support (IntelliJ Platform) | JetBrains
July 3, 2024 - For the record, in my case things still worked from the command line, so the problem is definitely just within PyCharm, not a general installation problem. I found a different workaround: if I recreate the PyCharm project adding the PARENT folder as my “Django Project folder”, (e.g.: myvirtualenv/ instead of myvirtualenv/mydjangoproject/), then at least PyCharm stops complaining about my imports, and I can again click on a keyword and land within the library, debug, etc. The only thing that still doesn't work as before is having my libraries listed under “External Libraries”. But since I added the parent folder, I can now see them, browse them, open in PyCharm, etc.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 6738627982354-IntelliJ-IDEA-cannot-resolve-symbol-when-using-external-libraries
IntelliJ IDEA cannot resolve symbol when using external libraries – IDEs Support (IntelliJ Platform) | JetBrains
July 21, 2022 - I am working on a Groovy & Java ... external libraries through Project Structure dialogue, however IntelliJ unable to resolve the classes in the .java files. and - yes, I've already tried to invalidate cache files - didn't help. When no external library is defined - only module "Sources" library - it fails to resolve beyond "com": After adding the external library - either global or under Project Settings - it resolves all the way to the class but is not able to resolve ...
🌐
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 › 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 › 360000535459-IntelliJ-can-t-find-library-but-it-works-fine-when-compiling-at-terminal
IntelliJ can't find library but it works fine when compiling at terminal – IDEs Support (IntelliJ Platform) | JetBrains
But when working within IntelliJ, it reports it can't find a dependency. What's the issue? Please see the two attachment. The 'deeplearning' is the dependency it's complaining. As you can see, it can be found in the "External libraries" in the panel in IntelliJ.
🌐
GitHub
github.com › bazelbuild › intellij › issues › 608
Missing external libraries · Issue #608 · bazelbuild/intellij
April 3, 2019 - I'm using IntelliJ 2018.3.2 with latest Bazel plugin (v2019.01.02.0.2), Bazel 0.23.0 and bazel-deps (https://github.com/johnynek/bazel-deps) for help managing with external dependencies (this just helps with easier loading of maven packages). For most external packages everything works as expected, source jars are automatically loaded under "External Libraries" in project view and code completion works normally.
Author   bazelbuild
🌐
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 - Appending above dependencies to build.gradle. Then after i run ./gradlew build. The build is successful however the External Libraries in Intellij does not display Gradle:com.google.code.gson:2.2.4 or gemstone.gemfire also happened with okhttp3 dependency.
Author   gradle