"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.

5 comments
Comment actions Permalink

Please try File | Invalidate Caches | Invalidate and Restart.

1
Comment actions Permalink

Thanks, work for me

0
Comment actions Permalink

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.

1
Comment actions Permalink

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.

0
Comment actions Permalink

it seems that "invalidate cache and restart" does not work every time, for me it worked the second time.. slightly annoying..

0

Please sign in to leave a comment.