Hello everyone

I am using Doctrine2 provided in the Symfony 2.3 framework..

Developping locally in Windows Environment I had no problem but deploying 
on AIX server I have this strange exception which looks like a bug :

[Semantical Error] The class "Doctrine\ORM\Mapping\Table" is not annotated 
with @Annotation. Are you sure this class can be used as annotation? If so, 
then you need to add @Annotation to the _class_ doc comment of 
"Doctrine\ORM\Mapping\Table". If it is indeed no annotation, then you need 
to add @IgnoreAnnotation("ORM\Table") to the _class_ doc comment of class 
XXX\MyBundle\Entity\AgentImpl

The AgentImpl class annotations are like this :

use Doctrine\ORM\Mapping as ORM;

/**
 * AgentImpl
 *
 * @ORM\Table(name="NAME_OF_MY_TABLE")
 * @ORM\Entity
 */
class AgentImpl
{ ... }

Looking in the vendor library and looking for Doctrine Table class I can 
see this :

namespace Doctrine\ORM\Mapping;

/**
 * @Annotation
 * @Target("CLASS")
 */
final class Table implements Annotation
{ ... }

Obviously the @Annotation is here.

What is wrong ? How can I solve this ?

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to