I am trying to follow the description here Correct way to add lib/*.jar to an IntelliJ IDEA project? in order to make some static utilities from a jar available, but keep getting "Cannot resolve symbol" errors.
I do the following: Go to project structure with Ctrl+Shift+Alt+S -> select module -> Dependencies ->
add -> Library -> find the jar -> accept the class and source destinations.
In the linked description "Project Libraries" is chosen instead of "Library", but I don't see that option running version 12.1.4.
In the project view, I do have a library under "External Libraries" containing the jar afterwards, but I keep getting "Cannot resolve Symbol" when I use a static method from the jar. When I expand the jar from the project view under its library under External Libraries, the needed class is present.I have tried different things from the Project Settings eg. adding the jar as "Jars or directories" but with the same result. The code I am referencing the class in the jar from, has an explicit package statement.