Invalid item in dependency list

Answered

Something went wrong after updating to 2016.3. On one project, none of the dependencies are being recognized. When I look at the project settings, I see a bunch of errors saying "invalid item ... in the dependencies list" for every dependency. When opening the pom, the analysis indicate "gc overhead limit exceeded". Despite that, the overall module structure is recognized, or so it seems.

How do I fix this? Removing settings is not viable -- I have tons of testing configurations, plus intentions, templates, etc.

0
7 comments

If the exception occurs in IntelliJ IDEA JVM, try increasing the heap size and switch to 64-bit JVM:

https://intellij-support.jetbrains.com/hc/articles/206544869
https://intellij-support.jetbrains.com/hc/articles/206544879

In case the issue occurs in the Maven Importer JVM, increase the heap size here and change Maven Importer JVM to 64-bit version:

0

After changing the settings restart IDEA and Synchronize the project in the Maven Projects tools window: https://www.jetbrains.com/help/idea/2016.3/maven-projects-tool-window.html.

0
Avatar
Permanently deleted user

Is synchronize like reimport maven projects? Because that's causing me another issue.

0
Avatar
Permanently deleted user

I don't know when the error occurs, but neither option seems to be the case. The error shows in the analysis. "project" is underlined in red, and on mouse over that message is displayed.

0
Avatar
Permanently deleted user

Well, I don't know if that fixed it, but I increased IntelliJ's VM size, restarted, reimported, and now things are working.

0
Avatar
Permanently deleted user

I am facing the same issue in version 2018.2 applied the same solution and still facing the same issue. How do I fix this?

0

Please report at https://youtrack.jetbrains.com/issues/IDEA and attach a sample to reproduce.

0

Please sign in to leave a comment.