title: Mongeez with spring boot
body: <p>I have some set of MongoDB insert commands to be executed during the application startup. refered <a href="https://github.com/hzpz/mongeez-spring-boot-starter" rel="nofollow noreferrer">https://github.com/hzpz/mongeez-spring-boot-starter</a> for my requirement 
  Followed the below steps </p>
  
  <p>1) Added the dependency in pom</p>
  
  <p>2) Created js and mongeez.xml in an external folder</p>
  
  <p>3) Referred the location in mongeez.location={myDir}/db</p>
  
  <p>I am getting below exception while starting the application </p>
  
  <blockquote>
    <p>Caused by:  com.mongodb.MongoCommandException: Command failed with error 59 (CommandNotFound): 'no such command: 
        '$eval'' on server localhost:27017. The full response is {"ok": 0.0, "errmsg": "no such command: 
    '$eval'", "code": 59, "codeName": "CommandNotFound"}</p>
  </blockquote>
  
  <p>The contents of the js file is </p>
  
  <blockquote>
    <p>db.organization.save({"Name" : "10Gen", "Location" : "NYC"});</p>
  </blockquote>
  
  <p>the contents of mongeez.xml is </p>
  
  <blockquote>
  <pre><code>&lt;changeFiles&gt; &lt;file path="config.js"/&gt; &lt;/changeFiles&gt;
  </code></pre>
  </blockquote>
  
  <p>Spring Boot Version : 2.2.1.RELEASE 
  Mongeez Version : 2.0.1</p>