You _HAVE_ to autoload your classes on your own. Doctrine does not autoload entities, that's up to you.
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 23 April 2013 13:05, stef [via Zend Framework Community] < [email protected]> wrote: > Hi, > > I'm new to ZF2 and I'm working on one new project in ZF2. I have decided > to use Doctrine and I have followed this tutorial from Marco: > http://marco-pivetta.com/doctrine-orm-zf2-tutorial/. > Everything is ok until I get to "*doctrine-module.bat orm:validate-schema*" > > > Since I have classes which extends other custom classes, I got an error > that class is *not found*. > > How can I fix this? > Thank you > > P.S I had similar problem with PHPUnit tests which I solved by including > missing files in bootstrap. Can I do something like that for Doctrine and > where? > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/Doctrine-schema-validate-fails-when-class-inherits-another-tp4659830.html > To start a new topic under Zend Framework, email > [email protected] > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Doctrine-schema-validate-fails-when-class-inherits-another-tp4659830p4659831.html Sent from the Zend Framework mailing list archive at Nabble.com.
