Home  >  Article  >  Backend Development  >  lumen namespace problem

lumen namespace problem

WBOY
WBOYOriginal
2016-12-01 00:56:411263browse

ReflectionException in Container.php line 749:
Class AppHttpControllersAppHttpControllersActivityController does not exist

Dashenmen, I configured namespace = "APPhttpControllers" in the routes.php file of the laravel project, and then the above error was reported when I accessed the route. Why is it that the namespace is also configured in the server and no error is reported, but my local error is reported? What is the reason for this

Reply content:

ReflectionException in Container.php line 749:
Class AppHttpControllersAppHttpControllersActivityController does not exist

Dashenmen, I configured namespace = "APPhttpControllers" in the routes.php file of the laravel project, and then the above error was reported when I accessed the route. Why is it that the namespace is also configured in the server and no error is reported, but my local error is reported? What is the reason for this

I remember correctly, luman seems to have to enter the complete namespace

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn