Target class [setting] does not exist. code example
Example 1: Target class [] does not exist.
composer dump-autoload
Example 2: Target class does not exist.
use App\Http\Controllers\RegistrationController;
Route::get('/', [RegistrationController::class, 'create']);