Symfony2: No route found for “GET /lucky/number”

后端 未结 11 1236
北荒
北荒 2021-02-18 14:17

I start the tutorial (as newbie) and everythings works fine till:

http://symfony.com/doc/current/book/page_creation.html#creating-a-page-route-and-controller at step

11条回答
  •  滥情空心
    2021-02-18 15:08

    Sometimes is a cache problem. Try to remove dev folder from /project/var/cache/dev.

    As authentictech says, also you can try the command:

    php bin/console cache:clear

    If you want to specify the environment, you should add the --env=prod property.

提交回复
热议问题