 <p>@Joshua Blevins its nice to see you come to symfony and try its first ever beginners code.</p> <p>Here you have to change your <code>app.php</code> located in <strong>web</strong> folder of your project. Open and turn the false option to true, it will enable your project to run in production environment.</p> <p>Moreover every controller of symfony extended from the base controller.</p> <p>Try this:</p> <pre><code>// src/AppBundle/Controller/LuckyController.php // ... // --&gt; add this new use statement use Symfony\Bundle\FrameworkBundle\Controller\Controller; class LuckyController extends Controller { // ... } </code></pre> <p>you can also test your rout by just <code>echo "hello world!</code>" in the controller.</p> <p>reference <a href="http://symfony.com/doc/current/page_creation.html" rel="nofollow noreferrer">Create your First Page in Symfony</a></p>