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

转载于:https://www.cnblogs.com/caicaizi/p/10765764.html

你可能感兴趣的:(symfony generate bundle autoload failed的解决办法)