Symfony MongoId Class not found error

I am using Symfony3 and I have used mongo db in my application.

I have include the following in my composer.json file

  • Can you explain roles of swarm machine?
  • How to create local mirror for ubuntu inside docker container?
  • How about the docker run in virtul machine best practice?
  • Is there an official Docker image for Elastic Filebeat?
  • What is the standard for tagging Docker images?
  • Jenkins With Nginx Reverse Proxy And Resolver
  • "doctrine/mongodb-odm": "^1.0@dev",
    "doctrine/mongodb-odm-bundle": "^3.0@dev",

    I have tried couple of solutions from internet but following error is coming

    Fatal error: Class 'MongoId' not found in /var/www/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Id/AutoGenerator.php on line 34

    Please if any one can help me in this. It will be really appreciated.

    Thank You

  • How many docker containers can i run simultaneously on single host?
  • How to make tweaks to a Docker base image?
  • How to ingest files in a docker container from another machine?
  • dockerhub registery: x509: certificate signed by unknown authority
  • Intermittent slow response from Dockerized NodeJS app
  • Docker Compose - Image name
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.