douyun1972 2017-04-16 12:54
浏览 45
已采纳

Laravel 5.4作曲家错误

I am facing a strange issue with Laravel 5.4.9. I tried to install a repository instead might have made a mess by installing it as a controller. Now when I type php artisan route:list, I am getting this error:

[ReflectionException] Class App\Http\Controllers\ProjectRepositoryInterface does not exist.

This ProjectRepositoryInterface is in repository folder and it works normal.

I want to know where the controller classes are registered and stored? Are they stored in a file (like we bind the repository and interface in the app service provider file).

How to get rid of this error?

  • 写回答

1条回答 默认 最新

  • duanluangua8850 2017-04-16 14:36
    关注

    Run composer dump-autoload to clear the composer reference to the old file.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)