简体   繁体   中英

Symfony is not generating a Bundle

I can't generate a Bundle with Symfony. Indeed, I have even try to solve my probleme with a solution give on StackOverflow, but it's always doesn't work.

控制台错误

本地主机错误

无效的解决方案

Thanks for your anwsers but my problem is not solved, I've tried to do that:

"autoload": {
    "psr-4": {
        "": "src/",
        "DF\\TestBundle\\": "src/DF/TestBundle"
    },
    "classmap": [ "app/AppKernel.php", "app/AppCache.php" ]
},

There is always this error message:

Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DFTestBundle" from namespace "DF\TestBundle". Did you forget a "use" statement for another namespace? in C:\wamp64\www\symfonyTest\app\AppKernel.php:20

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM