I am trying to export the products from admin panel but CSV file not generating anywhere. When I tried to run this command php bin/magento queue:consumers:start exportProcessor It generates the error :

`In ClassReader.php line 35:
  Class Magento\ImportExport\Model\ExportFactory does not exist  

In ClassReader.php line 29:
  Class Magento\ImportExport\Model\ExportFactory does not exist  

This Magento 2.3 version and fresh installation with demo products data. I want to edit products in bulk

2 Answers 2


You can try some steps like :-

so you need to check permissions for this folder as well. You need to run following command at the root of Magento installation directory will resolve this issue:

sudo chmod -R 777 generated/

And then ran php bin/magento setup:di:compile.This command work will generate all factory classes.

And get more infomation check this link :-

Magento 2 Class *Factory does not exist

  • Thanks it solved the issue. This was only files permissions issue Jun 6, 2021 at 7:16

if you are in production mode then please run

php bin/magento setup:di:compile

it will generate all factory classes for you

if you have installed Magento on your local for development I recommend changing your environment from default to developer


php bin/magento deploy:mode:set developer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.