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.
Please sign in to leave a comment.
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:
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.
Is synchronize like reimport maven projects? Because that's causing me another issue.
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.
Well, I don't know if that fixed it, but I increased IntelliJ's VM size, restarted, reimported, and now things are working.
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?
Please report at https://youtrack.jetbrains.com/issues/IDEA and attach a sample to reproduce.