I know there is another question with exact the same problem, but I went trough all those answers, and none helped me. :( (This was the question.)
I just created a new A
Check all the projects are loaded. In my case one of the project was unloaded and reloading the project clears the errors.