Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You have requested a non-existent service "jms_serializer.handler_registry". #883

Open
palanisamy-emis opened this issue Dec 7, 2021 · 4 comments
Labels

Comments

@palanisamy-emis
Copy link

Q A
Bug report? yes/no
Feature request? yes/no
BC Break report? yes/no
RFC? yes/no

Steps required to reproduce the problem

  1. I have used "jms/serializer-bundle": "^4.0", in my composer.json file
  2. PHP version = 8.1.0, symfony version = 4.4
  3. when i try to create database using the below command
  4. doctrine:database:create --env=dev --if-not-exists

Expected Result

  • Successfully created

Actual Result

  • You have requested a non-existent service "jms_serializer.handler_registry".
@goetas
Copy link
Collaborator

goetas commented Dec 26, 2021

did you clear the cache ?

@mario-fehr
Copy link

Same problem here and yes cleared the cache.

@EdwardObala1
Copy link

I have this issue and have cleared the cache and its still around has anyone managed to solve it?

@Blacksmoke16
Copy link

Blacksmoke16 commented Aug 11, 2022

Seems to be fixable by upgrading friendsofsymfony/rest-bundle to ^3.1.0, assuming you're using the REST Bundle.

Ref: #877 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants