Six months ago, I set up a Zend Expressive project using Doctrine 2. I used the setup instructions found at https://www.jamestitcumb.com/posts/integrating-doctrine-expressive-easier — and all worked well. I later used the laminas migration tool on that Zend project and all seemed well.
More recently, I created an out of the box Mezzio sample project, used pretty much the same dependencies, copied the working entities into the new project, but get
‘[Semantical Error] The annotation “@Doctrine\ORM\Mapping\Entity” in class App\Entity\xxxx does not exist, or could not be auto-loaded’
I haven’t found any chat on StackExchange that seems to point to a solution that fits easily with my Lamnis project ----- is there some link that cleanly tells me how to deal with this issue? Is there some setup from the old zend expressive project I need to move to the new one?