hi sighin,
glad you managed to find the solution.
this is documented in the setup instructions of phpcr-odm and if you
start with the symfony-cmf/standard-edition or sandbox, it will already
be present.
did you follow some tutorial that forgets to mention this step? if so
please point us to it so we can fix it.
i think there is no easy solution to better report what is going wrong -
its the annotation system which knows nothing about phpcr-odm specifically.
cheers,david
On 12.06.2015 17:46, sighin wrote:
> Hi
>
> I got the error, of which phrase msg I put into google as following:
>
> "[Semantical Error] The annotation
> "@Doctrine\ODM\PHPCR\Mapping\Annotations\NodeName <mailto:"[Semantical
> Error] The annotation
> "@Doctrine\ODM\PHPCR\Mapping\Annotations\NodeName>" in property does not
> exist, or could not be auto-loaded."
>
> for which 2nd result (for me) directed me at this PDF, page 55:
>
>
http://pl.scribd.com/doc/166033629/Symfony-Cmf-Master#scribd
>
> Yes, this fix worked after modifying app/autoload.php. I wonder why this
> happens that Annotations aren't auto-loaded?
>
> Thx, cheers
>
> --
> You received this message because you are subscribed to the Google
> Groups "symfony-cmf-devs" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
symfony-cmf-de...@googlegroups.com
> <mailto:
symfony-cmf-de...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.
--
Liip AG // Agile Web Development // T
+41 43 500 39 80
CH-8005 Zurich // PGP 0xA581808B //
www.liip.ch