Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to include provided dependencies with the new Application Run configuration UI in IntelliJ IDEA?

Where is the "include dependencies with provided scope" check box in the new IntelliJ IDEA 2020.3 interface for running a java application? On the earlier version it was present and then suddenly it disappeared.

like image 901
OneNoOne Avatar asked Dec 03 '20 22:12

OneNoOne


People also ask

How do I import new dependencies into IntelliJ?

Press Alt+Insert to open the Generate context menu. From the context menu, select Add dependency. In the Dependencies tool window, in the search field, start typing the name of your dependency. In the list of results select the one you need and click Add.

Where is class dependencies in IntelliJ?

From the main menu, select Code | Analyze Code | Dependencies. Alternatively, if you want to analyze a specific item, right-click it in the Project tool window and select Analyze | Analyze Dependencies.


2 Answers

Modify options, Use classpath of module:

classpath of module

Click on the module, enable the Include dependencies with "Provided" scope checkbox:

enter image description here

Vote for the corresponding issue to make it easier to find.

like image 120
CrazyCoder Avatar answered Nov 11 '22 03:11

CrazyCoder


I was not able to find it mentioned as above but

I found the option inside the Modify options itself. you can check it.

like image 25
NickyPatel Avatar answered Nov 11 '22 02:11

NickyPatel