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.