Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/e/7/e76990b9-3372-4d88-8089-fce36e16744a/webperfection.net/sub/rady-nosu/wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
Doctrine: Specifying the paths to your entities is required in the AnnotationDriver to retrieve all class names.

September 30, 2014 | In: Programovanie

ZF2 + doctrine2 + apigility


Fatal error: Uncaught exception 'Doctrine\Common\Persistence\Mapping\MappingException' with message 'Specifying the paths to your entities is required in the AnnotationDriver to retrieve all class names.' in MappingException.php on line 46

zabite 2h kym som nasiel ze treba len pridat toto:


'doctrine' => array(
'driver' => array(
'application_entities' => array(
'class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver',
'cache' => 'array',
'paths' => array(

‘omfg’ => __DIR__,

),
),

Share This:

Comments are closed.