symfony generate bundle autoload failed的解决办法

I also encountered this problem,
I add new bundle namespace in composer.json
"autoload": { "psr-4": { "AppBundle\\": "src/AppBundle", "BlogBundle\\": "src/BlogBundle" }, "classmap": [ "app/AppKernel.php", "app/AppCache.php" ] },
and then,
cmd $ composer dump-autoload.//如报ssh错,则修改php.ini ,开户open_ssh
the issue is settled

posted on 2019-04-24 23:35  caigan  阅读(227)  评论(0编辑  收藏  举报