I have a Maven project and I want to add a JAR file as an external dependency to the project. After clicking 'New' in Project Structure I expect to see an option for "JAR file". Unfortunately, I don't see it. Do you have any idea why or what I can do to add external JAR file as a dependency?
Asked
Active
Viewed 342 times
0
-
Weird. Have you tried adding e.g. a `lib` dir to your project, throwing the jar in there and right-click - add lib/dependency? – m02ph3u5 Mar 01 '20 at 10:01
1 Answers
3
It seems like you're in the wrong tab of project structure settings.
Follow those instructions: Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project

Felix Schildmann
- 574
- 1
- 7
- 22