IntelliJ adding jar dependencies

CrazySynthax :

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?

enter image description here

Felix Schildmann :

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=18601&siteId=1