error is ServiceNotFoundException: The service "jms_serializer.metadata_driver" has a dependency on a non-existent service "doctrine".
my configure in composer.json:
"jms/serializer-bundle": "dev-master", "jms/di-extra-bundle": "dev-master"
what's wrong?
Are you aliasing the default object constructor to the
DoctrineObjectConstructor? E.g.If you are, it appears that the
DoctrineObjectConstructorassumes the use of Doctrine's ORM solution, not an ODM solution like MongoDB. Another user commented on the use of theDoctrineObjectConstructorwith MongoDB here.In summary, you need to redefine the
DoctrineObjectConstructorwith a reference todoctrine_mongodbinstead ofdoctrine, e.g.:Even if the issue isn't explicitly related to the
DoctrineObjectConstructor, you may find that the above solution can be translated to the service or object causing problems in your configuration.