Class 'CreateTodosTable' not found

Class 'CreateTodosTable' not found
Symfony\Component\Debug\Exception\FatalErrorException

1 문제상황[ | ]

root@zetawiki:/var/www/laravel# php artisan migrate:refresh --seed
PHP Fatal error:  Class 'CreateTodosTable' not found in /var/www/laravel/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php on line 335

                                                           
  [Symfony\Component\Debug\Exception\FatalErrorException]  
  Class 'CreateTodosTable' not found

2 해결방법[ | ]

composer dump-autoload -o
root@zetawiki:/var/www/laravel# composer dump-autoload -o
Generating optimized autoload files
root@zetawiki:/var/www/laravel# php artisan migrate:refresh --seed
Rolled back: 2016_09_17_174100_create_todos_table
Rolled back: 2014_10_12_100000_create_password_resets_table
Rolled back: 2014_10_11_100000_create_users_table
Migrated: 2014_10_11_100000_create_users_table
Migrated: 2014_10_12_100000_create_password_resets_table
Migrated: 2016_09_17_174100_create_todos_table
Migrated: 2016_10_12_222030_create_boards_table
Seeded: UsersTableSeeder

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}