Closed1

Target class [App\\Services\\xxxService] does not exist. の対処

plaincode_jpplaincode_jp

現象

App\Services\配下に作成したclassが読まれず、タイトルのとおりのエラーとなる

対応

以下を実行。Laravelのクラス管理しているcomposerに新しいclassを認識させる。

composer dump-autoload
このスクラップは2021/04/01にクローズされました