Within an IntelliJ project, I have set up a dependence on an external library (project structure -> Modules -> Dependencies -> Add -> Library). This library appears in the "External Libraries" tab on the left.
For classes which are placed directly in the src directory this works fine.
However, for packages I create within the project, IntelliJ doesn't recognize functions from the external library (I get a red line and a "cannot resolve symbol").
How should I set up the external library so that this issue is resolved?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…