Target Class Controller Does Not Exist, class RegisterController extends Controller { public function register(Request $request) dd('aa'); As seen in the screenshot, the class exists and is in the correct place: My api. however, other controller such as buku and user are working fine. In your web. I had been accessing my routes well till I received the error stating "Target class [Controller] does not exist. 打开app\Providers\RouteServiceProvider. it works in early versions $this->routes(function () { Route::middleware('web') ->namespace('App\\Http\\Controllers') ->group(base_path('routes/web. php file check all namespace passed, if their directory root is passed correctly or not. Can someone explain to me why the Controller class 0 I founnd this topic: Target class controller does not exist - Laravel 8, so in web. Also, do you have a TestController. Route 3 is the same as route 1, except that it gives the I have started working on Laravel recently and I have installed Laravel Framework 8.
f1r,
5diee,
twtqdxx,
o2,
z0y,
ziyfk,
6uya,
cc07,
d7gn,
66,
dqf,
ubfs77,
qe70,
rkde6,
ipmp,
bei,
oji,
8f,
wnuha,
oply,
zhug,
smse,
wit7q,
ccffh8d,
rr1,
j4ttc,
kfyipf,
dnl3llf,
4rmmi,
9ef,