海,
我正在尝试将 Sylius 电子商务捆绑包实施到新的 Symfony 2.2.2 标准版中。
从命令行运行 sylius:install 命令时,我不断收到以下错误:
The class 'Sylius\Bundle\CartBundle\Model\CartItemInterface' was not found in
the chain configured namespaces Sylius\Bundle\CoreBundle\Entity,
Sylius\Bundle\SettingsBundle\Entity, Sylius\Bundle\CartBundle\Entity,
Sylius\Bundle\AssortmentBundle\Entity, Sylius\Bundle\TaxationBundle\Entity,
Sylius\Bundle\ShippingBundle\Entity, Sylius\Bundle\PaymentsBundle\Entity,
Sylius\Bundle\PromotionsBundle\Entity, Sylius\Bundle\AddressingBundle\Entity,
Sylius\Bundle\SalesBundle\Entity, Sylius\Bundle\InventoryBundle\Entity,
Sylius\Bundle\TaxonomiesBundle\Entity, FOS\UserBundle\Entity
捆绑包是通过导入的Composer
,通过激活AppKernel.php
的,我已经从普通Sylius
安装迁移了依赖项和配置,实际上不知道这个错误来自哪里。我刚刚注意到,它试图在 Entiy-Namespace 中找到一个模型,这是不对的。
任何人的想法?