"Cannot Resolve symbol" on ALL elements in a pom
Answered
hi..
we have a project that it's parent pom is filled with error of "cannot resolve symbol" on each xml element, starting with "modelVersion" element, everything is read, all other poms are ok, i tried copying the declaration from other poms but that didn't help.
Please sign in to leave a comment.
Please try File | Invalidate Caches | Invalidate and Restart.
Thanks, work for me
Hi, the same happens to me. Invalidating and restarting works for a while and then I get the errors in pom.xml all again. Is there a definitive solution for this? Thank you.
Re-create project by import project from Maven selecting to delete existing project configuration files and wait for Maven import process to finish.
If issue continues file a request at https://intellij-support.jetbrains.com/hc/en-us/requests/new?ticket_form_id=66731 with screenshots and idea.log file after re-importing the project in Maven tool window.
it seems that "invalidate cache and restart" does not work every time, for me it worked the second time.. slightly annoying..