dq23171 2017-01-01 07:46
浏览 586
已采纳

RouteCollection.php第161行laravel 5.2中的NotFoundHttpException

I'm new on laravel , I didn't write any code yet but when I open my project it gives me this error , anyone can help me to solve it ? [enter image description here]

  • 写回答

1条回答 默认 最新

  • duansha8764 2017-01-01 07:58
    关注

    Just try http://localhost:8000 since it seems like you already started development server in your local machine using php artisan serve while you were on your project root via terminal.

    Or you can try from begining:

    1. Go to your project root from terminal / cmd
    2. Run php artisan serve
    3. Now try http://localhost:8000 which is equivalent to http://localhost/laravel/public , considering laravel is your project folder name.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?