mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Class 'Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver' not found #6061
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ekosynth on GitHub (Sep 7, 2018).
Originally assigned to: @Majkl578 on GitHub.
Bug Report
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:createThis 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 40Expected behavior
Schema create will run without error