2012-08-31 55 views
0

找不到接口'Knp \ Menu \ Matcher \ Voter \ VoterInterface'我想在我的Symfony2項目中集成twitter-bootstrap並試圖使其工作,我遵循的文檔是BootstrapBundle。 安裝在composer.json設置所有的依賴後,我得到這個錯誤:Symfony2:致命錯誤:在

Fatal error: Interface 'Knp\Menu\Matcher\Voter\VoterInterface' not found in /var/www/cv- editor/vendor/mopa/bootstrap-sandbox-bundle/Mopa/Bundle/BootstrapSandboxBundle/Navbar/Example/Voter/RequestVoter.php on line 12

你有什麼想法?

回答

1

解除debvugging後,我發現MopaBootsrapBundle的依賴關係存在問題,它與Knp-menu-bundle版本1.2配合使用