Hi everyone

I am trying to write my first app in Symfony2 and I get stuck with
UserBundle.

I have done all (checked twice) instruction from
https://github.com/FriendsOfSymfony/UserBundle/blob/master/Resources/doc/index.rst
but still get this error:

Warning: class_parents() [function.class-parents]: Class Mrok\MyBundle
\Entity\User does not exist and could not be loaded in /home/mrok/www/
TCS/vendor/doctrine/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
on line 222

ReflectionException: Class Mrok\MyBundle\Entity\User does not exist
in /home/mrok/www/TCS/vendor/doctrine/lib/Doctrine/ORM/Mapping/
ClassMetadata.php on line 67

but this class exist in directory:
/home/mrok/www/TCS/src/Mrok/MyBundle/Entity
filename: User.php

<?
namespace Mrok\MyBundle\Entity;
use FOS\UserBundle\Entity\User as BaseUser;

/**
 * @orm:Entity
 */
class User extends BaseUser
{
    /**
     * @orm:Id
     * @orm:Column(type="integer")
     * @orm:generatedValue(strategy="AUTO")
     */
    protected $id;
}

I am completely out of idea what could be wrong...

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