Home > Backend Development > PHP Tutorial > lumen namespace problem

lumen namespace problem

WBOY
Release: 2023-03-01 22:54:02
Original
1277 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template