学说映射错误

时间:2015-08-03 15:01:46

标签: symfony doctrine mapping

当我尝试为我的实体类导入我的映射时,如此---

php app/console doctrine:mapping:import --force MyContentBundle yml

总是给我这个错误---

[Doctrine\ORM\Mapping\MappingException]                                                                
  Property "countryid" in "GeonamesCountryinfo" was already declared, but it must be declared only once

enter image description here

有谁知道如何在symfony2中解决这个问题。

0 个答案:

没有答案