Autoload error

Module 'Magento_UrlRewrite' from '/data/www/mimifabrics_m2/htdocs/app/code/Magento/UrlRewrite' has been already defined in '/data/www/mimifabrics_m2/htdocs/vendor/magento/module-url-rewrite'.