Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA does not recognise maven dependencies (omitted for conflict with ...)

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

enter image description here How should I fix it?

like image 611
user3426603 Avatar asked Feb 27 '17 14:02

user3426603


People also ask

Why is IntelliJ not importing Maven dependencies?

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.

Where is Maven dependencies in IntelliJ?

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!


1 Answers

Re imported and restart(Invalidate Caches / Restart) the IntelliJ. that was working

enter image description here

like image 58
Rajitha Bhanuka Avatar answered Oct 03 '22 07:10

Rajitha Bhanuka