I'm getting this error when I try to access the base website url
Fatal error: Uncaught ReflectionException: Class Magento\Framework\App\ResourceConnection\Proxy does not exist in /var/www/html/vendor/magento/framework/Code/Reader/ClassReader.php on line 19
I have deleted all the cache files with :
sudo rm generated/* var/cache/* di/* page_cache/*
setup:upgrade run without issues. Any ideas where the error comes from ?