SunflowerToadTheOrbiter
SunflowerToadTheOrbiter

Reputation: 1345

Intellij: Build | Build Artifacts deactivated

I want to create a .jar File using IntelliJ 2016.1

When I want to create a .jar file the Build Artifacts is deactivated.

Is there somthing i must change in my settings or is there somthing missing on my computer? Please help :)

I dont need help on how to create a JAR file.

Upvotes: 46

Views: 46465

Answers (2)

Ramazan Mutlu
Ramazan Mutlu

Reputation: 21

In my case i solved this problem with;

Open pom.xml,

Right Click > Run Maven -> Reimport

After this, i was be able to Build Artifacts.

Upvotes: 2

Harmelodic
Harmelodic

Reputation: 6149

It's likely that you haven't configured that you want to build a .JAR/Artifact.

If you go to to your Project Settings by doing:

Ctrl+Shift+Alt+S

and click on the Artifacts tab on the side.

Then click the Green + at the top, you'll be able to configure your project to build an artifact.

Then Build > Build Artifacts... should not be greyed out and your should be able to build your JAR.

Upvotes: 82

Related Questions