It looks like APC does not strip out dockblocks... so it is not that I guess
Le jeudi 23 octobre 2014 12:42:41 UTC+2, Marc Davenne a écrit : > > Let's say I use APC... what should I do exactly ? > > Le jeudi 23 octobre 2014 12:37:15 UTC+2, Jàπ (Jasper N. Brouwer) a écrit : >> >> This sounds like you have an opcode cache in place (APC, OPcache, etc) >> that strips out docblocks. If you're using annotations the opcode cache >> must be configured to leave docblocks intact. >> >> -- >> Jasper N. Brouwer >> (@jaspernbrouwer) >> >> >> On 23 October 2014 at 12:23:39, Marc Davenne ([email protected]) >> wrote: >> > 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.
