-3

I get the following exception when creating an object using symfony2 CRUD:

[ReflectionException]                               
Class App\CoransBundle\Entity\Coran does not exist

What may be the problem?

Spc_555
  • 4,081
  • 2
  • 27
  • 34
  • 1
    Stackoverflow is an English board, please edit your question so it fits the sites standards. – jAC Feb 20 '15 at 11:51
  • I got this problem when creating an entity with crud Symfony2 "[ReflectionException] Class App \ CoransBundle \ Entity \ Koran does not exist " I not find a solution: / Can you help me? Thank you. – nesrine Hl Feb 20 '15 at 12:09

1 Answers1

0

The error message is very precise on whats wrong isn't it?

I guess you have a typo in your namespace definition of your Coran class. It should look like this:

namespace App\CoransBundle\Entity;
Markus Kottländer
  • 8,228
  • 4
  • 37
  • 61