Hi,

I am a newbie to symfony2 and am walking through the book online. I am
in the "Model" chapter and trying to walk through with the example
however, I have encountered an exception for namespace. Any help will
be appreciated.

ubuntu:/var/www/Symfony$ cat app/AppKernel.php | grep Acme
            new Acme\StoreBundle\AcmeStoreBundle(),
ubuntu:/var/www/Symfony$ cat app/autoload.php | grep Acme
    'Acme'             => __DIR__.'/../src',


ubuntu:/var/www/Symfony$ sudo php app/console doctrine:generate:entity
AcmeStoreBundle:Product "name:string(255) price:float
description:text"

  [Doctrine\ORM\ORMException]
  Unknown Entity namespace alias 'AcmeStoreBundle'.

doctrine:generate:entity [--mapping-type[="..."]] entity [fields]

-- 
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

Reply via email to