0
我有一個symfonys cli工具奇怪的問題。我試圖更新我使用cli工具創建的實體(沒有問題),並且會引發此錯誤。Symfony Doctrine CLI工具「無法找到路徑」
奇怪的是:給定的路徑D:\w\Framework\AcmeBundle\Entity
是正確的。該實體可以被框架使用,並且我不會在其他地方得到有關該路徑的任何錯誤。所以這個工具顯然知道路徑,但是卻沒有。
D:\w\Framework\>php app/console generate:doctrine:entities AcmeBundle:Foo
Generating entity "AcmeBundle\Entity\Foo"
[RuntimeException]
Can't find base path for "AcmeBundle\Entity\Foo"
(path: "D:\w\vendors\AcmeBundle\Entity",
destination: "D:\w\vendors\AcmeBundle\Entity").
doctrine:generate:entities [--path="..."] [--no-backup] name
任何人都知道這個問題?