I started experimenting with the different diagram views that intellij offers and stumbled upon the dependency view. In one of my projects I've encountered that besides the blue arrows indicating dependencies there are some dependencies that are shown using a red line. What is IntelliJ trying to tell me here. Does it hint at a possible or maybe definite issue?
It looks like some connection issue, Maven is not able to download the dependencies from the repository. Make sure Internet connection is available and your antivirus/firewall is not blocking the downloads. Try running mvn clean package in the command line to ensure that it completes without any errors.
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. In the dialog that opens, specify the scope of files that you want to analyze.
If you want to check whether a dependency still exists in your project, and find its exact usages, you can run dependency analysis: From the main menu, select File | Project Structure Ctrl+Alt+Shift+S and click Modules | Dependencies. Right-click the necessary dependency and select Analyze This Dependency.
It looks like dependencies with a red line are conflicting or unsatisfied dependencies.
There is any explanation here. https://www.jetbrains.com/help/idea/2016.3/working-with-maven-dependencies.html
I was just looking at one of my projects and it looks like I have Guava conflict. I am bringing in version 15 but Guice is bringing in version 16.0.1. Need to fix that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With