Fatal error: Uncaught ReflectionException: Class Magento\AwsS3\Driver\AwsS3Factory does not exist in /var/www/staging/vendor/magento/framework/Code/Reader/ClassReader.php:28
Stack trace:
#0 /var/www/staging/vendor/magento/framework/Code/Reader/ClassReader.php(28): ReflectionClass->__construct()
#1 /var/www/staging/vendor/magento/framework/ObjectManager/Definition/Runtime.php(54): Magento\Framework\Code\Reader\ClassReader->getConstructor()
#2 /var/www/staging/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(48): Magento\Framework\ObjectManager\Definition\Runtime->getParameters()
#3 /var/www/staging/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create()
#4 /var/www/staging/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(206): Magento\Framework\ObjectManager\ObjectManager->get()
#5 /var/www/staging/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(182): Magento\Framework\ObjectManager\Factory\Abs in /var/www/staging/vendor/magento/framework/Code/Reader/ClassReader.php on line 28