Hi, I am trying to use DoctrineMongoDBBundle but not able to create documents using CLI. This is what I did.
- Downloaded symfony beta3 - Downloaded DoctrineMongoDBBundle from GIT - Downloaded doctrine/common from git - Downloaded doctrine/dbal from git - Downloaded doctrine/mongodb from git - Downloaded doctring/mongodb-odm - AppKernel changes new Symfony\Bundle\DoctrineMongoDBBundle\DoctrineMongoDBBundle(), - autoload.php changes 'Doctrine\\MongoDB' => __DIR__.'/../vendor/doctrine-mongodb/lib', 'Doctrine\\ODM\\MongoDB' => __DIR__.'/../vendor/doctrine-mongodb-odm/ lib', 'Demo' => __DIR__.'/../src', - config.yml changes doctrine_mongodb: default_database: hello_%kernel.environment% connections: default: server: mongodb://localhost:27017 options: connect: true document_managers: default: mappings: DemoApiBundle: { type: yml } but when I run php app/console doctrine:mongodb:generate:documents DemoApiBundle I get [ReflectionException] Class Demo\ApiBundle\Document\Category does not exist I have Demo.ApiBundle.Document.Category.mongodb.yml in Resources/ config/doctrine folder Itvg\ApiBundle\Document\Category: fields: id: type: id id: true name: type: string What am I doing wrong? Isn't the CLI command I am running supposed to create Category class instead of complaining? Kindly help. Regards, Amit. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en