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

  • How do I make my Kubernetes replication controller use a certain secret to pull an image?
  • How to copy image into VS2015 in order to amend code
  • Change IP address pool of docker bridge
  • SSH Tunneling to docker container
  • How to let two docker containers can ping each other
  • How to get forever to print child process output to stdout.
  • "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

  • Can I have a writable Docker volume mounted under a read-only volume?
  • shared library issue with the system function in R
  • Running a Java war file deployed on Tomcat over Windows server 2016 Docker container
  • Docker capture packets
  • Customize docker container bash
  • How can i config with docker to pulling images just from my private repository instead of docker.io?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.