I've been trying to upgrade our site from Symfony 4.4 to 5.0. I finally resolved all the composer dependencies and now I'm getting these errors:
The file "../src/Controller/" does not exist (in: "/home/avrsites/websites/xxxx.com/symfony/config/routes") in ../src/Controller/ (which i
s being imported from "/home/avrsites/websites/xxxx.com/symfony/config/routes/routes.yaml"). Make sure annotations are installed and enabl
ed.
In FileLocator.php line 71:
The file "../src/Controller/" does not exist (in: "/home/avrsites/websites/xxxx.com/symfony/config/routes").
Nothing in my routing config has changed and everything runs fine on 4.4. This is a fairly complex set up and it has two hosts running on the same Symfony project (one of them uses API Platform and runs on a separate subdomain).
Annotation is enabled, so I have a feeling that this error message is misleading and the actual problem is something else.