I loaded a Maven project in IntelliJ IDEA, when I run 'mvn clean package' in the terminal, it works fine, but IntelliJ IDEA can not debug or build it and in the UI, maven project tab, shows the following (red line on dependencies):
omitted for conflict with STH
How should I fix it?
If the dependencies weren't imported correctly (IntelliJ IDEA highlights them), try to perform the following actions: You can check your local maven repository in the Maven | Repositories settings and try to update it. You can check the jar file of the local . m2 repository to see if it was downloaded correctly.
Open your Dependencies tree, and you can see all the dependency hierarchy. But we can't filter and search for a particular dependency. There the plugin "plugins.jetbrains.com/idea_ce/plugin/7179-maven-helper" comes handy!
Re imported and restart(Invalidate Caches / Restart) the IntelliJ. that was working
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