Wednesday 21 August 2013

ZF2 Doctrine ORM console application - error with execution as phar archive

ZF2 Doctrine ORM console application - error with execution as phar archive

I wrote simply ZF2 console based application. There is source:
https://github.com/vagovszky/console. App is designed for import courses
from XML into database. Everything works fine until app is packed into
phar.
If I pack this application into phar archive (as described in README.md)
and execute it, error occured:
Doctrine\ORM\Mapping\MappingException Class "Database\Entity\Ligues" is
not a valid entity or mapped super class.
I do not know how fix this issue, thanks for help.

No comments:

Post a Comment