Solved: Magento 2 admin url gives error

Solved: Magento 2 admin url gives error - Class Magento\Authorization\Model\RoleFactory does not exist

This is most likely issue of var/generation directory, so apply below fixes, this may solve your admin login issue...

1) Clear var/generation directory
2) Check ownership and permission of var/generation directory

Leave a Reply