Ambiguous class resolution issue (controller does not exist)

  1. Check routes
  2. Check controller’s name space
  3. Different files with the same namespace in different path.
  4. Re-generate auto load file.
    composer dump-autoload