国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Laravel development uses Artisan to create a controller and reports an error. Please help!
怪我咯
怪我咯 2017-05-16 16:56:49
0
3
593

Yesterday I used the php artisan controller:make PostController command to create the controller, then deleted it and re-created it several times, no problem.

I got an error when I tried to create PostController today.

{"error":

    {"type":"ReflectionException","message":"Class PostController does not exist",
     "file":"D:\wamp\www\laravel\vendor\laravel\framework\src\Illuminate\Routing\ControllerInspector.php","line":28}

}

Then I found that changing to another controller or even another artisan command reported the same error. Do not you know why?

It is suspected that the problem was caused by repeated operations yesterday. Trying to execute composer dump-autoload and composer clear still did not solve the problem. . . And only this project has problems, other projects are normal. What is the reason for this? Please help!

怪我咯
怪我咯

走同樣的路,發(fā)現(xiàn)不同的人生

reply all(3)
左手右手慢動作

It may be that there is an error in the artisan file. Copy it from another project and try it.

洪濤

This problem is that you first defined a controller that does not exist in the routing, just remove it.

伊謝爾倫

php artisan make:controller PostController, your command is wrong

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template