<p dir="auto">hi everybody , i had this error after starting new projet in symfony 2.8 and after the following command : php app/console doctrine:generate:entity<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/30234640/28269416-f1e2524a-6af9-11e7-8d6e-597ec26aedb5.png"><img src="https://user-images.githubusercontent.com/30234640/28269416-f1e2524a-6af9-11e7-8d6e-597ec26aedb5.png" alt="28268939-19a17baa-6af8-11e7-88ac-361cc0b7fef1" style="max-width: 100%;"></a></p>
<p dir="auto">ClassNotFoundExceptionAttempted to load class "TestBundle" from namespace "TestBundle".Did you forget a "use" statement for "Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\TestBundle"?</p>
<p dir="auto">in AppKernel.php (line 19)</p>