Home > Backend Development > PHP Tutorial > lumen namespace problem

lumen namespace problem

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-03-01 22:54:02
Original
1342 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template