I am trying to follow the description here. The correct way to add lib / *. jar to IntelliJ IDEA project? to make some static utilities from the jar available, but keep getting the "Unable to fix character" errors.
I do the following: go to the project structure using Ctrl + Shift + Alt + S โ select module โ Dependencies โ
add -> Library -> find jar -> accept class and source assignment.
In the linked description, instead of "Library", "Project Libraries" is selected, but I do not see this option with version 12.1.4.
In the project view, I now have a library under "External Libraries" containing the jar, but I keep getting "Can't resolve character" when I use the static method from jar. When I expand the jar from the project view under my library in the "External Libraries" section, the necessary class is present. I tried different things from project settings, for example. adding a jar like "Boxes or directories", but with the same result. The code that I reference the class in jar from has an explicit package operator.
user2732075
source share