Class "FOS\OAuthServerBundle\Entity\RefreshToken" sub class of "FOS\OAuthServerBundle\Model\RefreshToken" is not a valid entity or mapped super class.
slik95 opened this issue · 0 comments
slik95 commented
Hello, i have a problem when trying to install FOSOAuthServerBundle on symfony 4.2.
To start I have this error :
The class 'FOS\OAuthServerBundle\Model\RefreshToken' was not found in the chain configured namespaces
So I try to use the custom_mappings in doctrine.yaml by adding this:
FOSOAuthServerBundle:
is_bundle: true
type: annotation
Then I have
Class "FOS\OAuthServerBundle\Entity\RefreshToken" sub class of "FOS\OAuthServerBundle\Model\RefreshToken" is not a valid entity or mapped super class.
Can you help me please?