Closed
Description
Bug Report
Q | A |
---|---|
BC Break | no |
Version | 2.4.8 |
Summary
Can't find AnnotationDriver class when running tutorial
Current behavior
Can't find AnnotationDriver class when running tutorial
How to reproduce
Follow all tutorial steps, then run
vendor/bin/doctrine orm:schema-tool:create
This error is returned:
Fatal error: Class 'Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver' not found in C:\Workspace\xxx\doctrine2-tutorial\vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\Driver\AnnotationDriver.php on line 40
Expected behavior
Schema create will run without error