0
我得到這個錯誤MappingException當我把我的實體提供部分
MappingException: The class 'Telnet\IPBBridgeBundle\Entity\Member' was not found in the chain configured namespaces Telnet\CSSBundle\Entity
我有2束與實體和多個連接成學說配置
orm:
default_entity_manager: site
entity_managers:
site:
connection: siteConfig
mappings:
CSSBundle: ~
forum:
connection: forumConfig
mappings:
IPBBridgeBundle: ~
,這爲供應商
providers:
main:
entity: { class: Telnet\IPBBridgeBundle\Entity\Member, property: username }
我在做什麼錯了?
當我將成員實體替換爲CSSBundle時 - 沒有錯誤。我無法理解,它在哪裏找到CSSBundle命名空間 – Neka