場合によっては、ライブラリを作成してモジュールの依存関係に追加するために、[プロジェクト構造]ダイアログを開く必要はありません。これは、プロジェクトのコンテンツルートに.jarファイルがある場合です。
プロジェクトツールウィンドウでこのような.jarファイルを選択し、これらのファイルを使用してライブラリを作成できます。これを行うと、ライブラリレベルと、依存関係のあるモジュールを選択して、新しいライブラリを追加する必要があります。
同様に、.jarファイルを含むディレクトリを使用してライブラリを作成することもできます。
Open the Project tool window (e.g. View | Tool Windows | Project).
Select the .jar file or files to be included in the library, or a directory that contains the .jar files of interest.
Select Add as Library from the context menu.
In the Create Library dialog, specify the library name, level and the module in which this library will be used.
これが問題を解決しました。